Mercurial > pidgin
changeset 19779:305c95ea0a7b
Fix from fmoo so that the imhtml toolbar appears right on the MS-Windows theme (and probably other themes too).
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Wed, 12 Sep 2007 17:25:52 +0000 |
parents | 0633ecda7ed0 |
children | 3023e0ba2fa6 b1bd2e8b01ef |
files | pidgin/gtkimhtmltoolbar.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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);