Mercurial > pidgin.yaz
diff finch/libgnt/wms/irssi.c @ 18074:7e309149360f
Make the irssi wm work.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sun, 10 Jun 2007 15:16:53 +0000 |
parents | 08e93462f189 |
children | f52def9dc7c9 |
line wrap: on
line diff
--- a/finch/libgnt/wms/irssi.c Fri Jun 08 13:06:21 2007 +0000 +++ b/finch/libgnt/wms/irssi.c Sun Jun 10 15:16:53 2007 +0000 @@ -192,7 +192,7 @@ const char *name = gnt_widget_get_name(win); if (!name || !GNT_IS_BOX(win) || strcmp(name, "conversation-window")) return; - g_object_set_data(G_OBJECT(win), "irssi-index", GINT_TO_POINTER(g_list_index(wm->list, win))); + g_object_set_data(G_OBJECT(win), "irssi-index", GINT_TO_POINTER(g_list_index(wm->cws->list, win))); g_timeout_add(0, (GSourceFunc)update_conv_window_title, node); } @@ -221,7 +221,7 @@ int x, y, w, h; GntWidget *win; - if (wm->ordered == NULL || is_budddylist(win = GNT_WIDGET(wm->ordered->data))) + if (wm->cws->ordered == NULL || is_budddylist(win = GNT_WIDGET(wm->cws->ordered->data))) return FALSE; find_window_position(irssi, win, &hor, &vert);