Fix from fmoo so that the imhtml toolbar appears right on the MS-Windows theme (and probably other themes too).

Wed, 12 Sep 2007 17:25:52 +0000

author
Daniel Atallah <datallah@pidgin.im>
date
Wed, 12 Sep 2007 17:25:52 +0000
changeset 19978
3761c1b17eb9
parent 19977
447ebf410d61
child 19979
6f348ca86569
child 20007
8e5c25529bc4

Fix from fmoo so that the imhtml toolbar appears right on the MS-Windows theme (and probably other themes too).

pidgin/gtkimhtmltoolbar.c file | annotate | diff | comparison | revisions
--- a/pidgin/gtkimhtmltoolbar.c	Wed Sep 12 15:59:22 2007 +0000
+++ b/pidgin/gtkimhtmltoolbar.c	Wed Sep 12 17:25:52 2007 +0000
@@ -1298,6 +1298,10 @@
 			imhtmltoolbar_view_pref_changed, toolbar);
 	purple_prefs_trigger_callback(PIDGIN_PREFS_ROOT "/conversations/toolbar/wide");
 
+#if GTK_CHECK_VERSION(2,4,0)
+	gtk_event_box_set_visible_window(GTK_EVENT_BOX(event), FALSE);
+#endif
+
 	gtk_widget_add_events(event, GDK_BUTTON_PRESS_MASK);
 	gtk_box_pack_start(GTK_BOX(hbox), event, TRUE, TRUE, 0);
 	g_signal_connect(G_OBJECT(event), "button-press-event", G_CALLBACK(gtk_imhtmltoolbar_popup_menu), toolbar);

mercurial