im.pidgin.pidgin: 61fbfa070eaf4d115029c2d7f46cf278600aab12

sadrul at pidgin.im sadrul at pidgin.im
Tue Dec 4 18:01:32 EST 2007


-----------------------------------------------------------------
Revision: 61fbfa070eaf4d115029c2d7f46cf278600aab12
Ancestor: 9037eacfc84a192c050129c75e200926d3b95ceb
Author: sadrul at pidgin.im
Date: 2007-12-04T22:58:38
Branch: im.pidgin.pidgin

Modified files:
        pidgin/gtkimhtmltoolbar.c

ChangeLog: 

Show either the grouped xor the ungrouped items.

-------------- next part --------------
============================================================
--- pidgin/gtkimhtmltoolbar.c	ff0d6bf65ee79f103866aac40d8e0d07b6adb07e
+++ pidgin/gtkimhtmltoolbar.c	c1bed12bd08b213783675cf0820abf51daad271c
@@ -1315,7 +1315,9 @@ static void gtk_imhtmltoolbar_init (GtkI
 
 	purple_prefs_connect_callback(toolbar, PIDGIN_PREFS_ROOT "/conversations/toolbar/wide",
 			imhtmltoolbar_view_pref_changed, toolbar);
-	purple_prefs_trigger_callback(PIDGIN_PREFS_ROOT "/conversations/toolbar/wide");
+	g_signal_connect_data(G_OBJECT(toolbar), "realize",
+			G_CALLBACK(purple_prefs_trigger_callback), PIDGIN_PREFS_ROOT "/conversations/toolbar/wide",
+			NULL, G_CONNECT_AFTER | G_CONNECT_SWAPPED);
 
 #if GTK_CHECK_VERSION(2,4,0)
 	gtk_event_box_set_visible_window(GTK_EVENT_BOX(event), FALSE);


More information about the Commits mailing list