Wed, 12 Sep 2007 17:25:52 +0000
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);