Mercurial > pidgin.yaz
changeset 18074:7e309149360f
Make the irssi wm work.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sun, 10 Jun 2007 15:16:53 +0000 |
parents | 8bad8a91d128 |
children | 34e011c8ed2b |
files | finch/libgnt/Makefile.am finch/libgnt/wms/irssi.c |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/libgnt/Makefile.am Fri Jun 08 13:06:21 2007 +0000 +++ b/finch/libgnt/Makefile.am Sun Jun 10 15:16:53 2007 +0000 @@ -1,6 +1,6 @@ EXTRA_DIST=genmarshal -SUBDIRS = . +SUBDIRS = . wms pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = gnt.pc
--- 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);