From 2b5b82db4975fdfa2818d9184a026d041a941263 Mon Sep 17 00:00:00 2001 From: Jan D Date: Fri, 17 Sep 2010 11:58:44 +0200 Subject: [PATCH] Make sure detached tool bar menu isn't blank. * gtkutil.c (xg_tool_bar_menu_proxy): Set gtk-menu-items to TRUE. --- src/ChangeLog | 4 ++++ src/gtkutil.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index d6e3151b1f5..0329f40d110 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2010-09-17 Jan Djärv + + * gtkutil.c (xg_tool_bar_menu_proxy): Set gtk-menu-items to TRUE. + 2010-09-12 Jan Djärv * xterm.c (get_current_vm_state): New function. diff --git a/src/gtkutil.c b/src/gtkutil.c index 1a90aabc1c6..7a25bbb1e3f 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c @@ -3590,6 +3590,8 @@ xg_tool_bar_menu_proxy (toolitem, user_data) GtkSettings *settings = gtk_widget_get_settings (GTK_WIDGET (wbutton)); GtkImageType store_type = gtk_image_get_storage_type (wimage); + g_object_set (G_OBJECT (settings), "gtk-menu-images", TRUE, NULL); + if (store_type == GTK_IMAGE_STOCK) { gchar *stock_id; -- 2.39.2