changeset 21770:7f79f3099c72

Show either the grouped xor the ungrouped items.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Tue, 04 Dec 2007 22:58:38 +0000
parents 6fe5e9e85979
children 3303c02a46f5
files pidgin/gtkimhtmltoolbar.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtkimhtmltoolbar.c	Tue Dec 04 22:23:51 2007 +0000
+++ b/pidgin/gtkimhtmltoolbar.c	Tue Dec 04 22:58:38 2007 +0000
@@ -1315,7 +1315,9 @@
 
 	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);