comparison pidgin/gtkimhtmltoolbar.c @ 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 d0ea3a86add5
children e7a2dcfc344f 6b74c3255901
comparison
equal deleted inserted replaced
21769:6fe5e9e85979 21770:7f79f3099c72
1313 gtk_box_pack_start(GTK_BOX(hbox), box, FALSE, FALSE, 0); 1313 gtk_box_pack_start(GTK_BOX(hbox), box, FALSE, FALSE, 0);
1314 g_object_set_data(G_OBJECT(hbox), "lean-view", box); 1314 g_object_set_data(G_OBJECT(hbox), "lean-view", box);
1315 1315
1316 purple_prefs_connect_callback(toolbar, PIDGIN_PREFS_ROOT "/conversations/toolbar/wide", 1316 purple_prefs_connect_callback(toolbar, PIDGIN_PREFS_ROOT "/conversations/toolbar/wide",
1317 imhtmltoolbar_view_pref_changed, toolbar); 1317 imhtmltoolbar_view_pref_changed, toolbar);
1318 purple_prefs_trigger_callback(PIDGIN_PREFS_ROOT "/conversations/toolbar/wide"); 1318 g_signal_connect_data(G_OBJECT(toolbar), "realize",
1319 G_CALLBACK(purple_prefs_trigger_callback), PIDGIN_PREFS_ROOT "/conversations/toolbar/wide",
1320 NULL, G_CONNECT_AFTER | G_CONNECT_SWAPPED);
1319 1321
1320 #if GTK_CHECK_VERSION(2,4,0) 1322 #if GTK_CHECK_VERSION(2,4,0)
1321 gtk_event_box_set_visible_window(GTK_EVENT_BOX(event), FALSE); 1323 gtk_event_box_set_visible_window(GTK_EVENT_BOX(event), FALSE);
1322 #endif 1324 #endif
1323 1325