changeset 110521:1cdff3b101d6

Make sure detached tool bar menu isn't blank. * gtkutil.c (xg_tool_bar_menu_proxy): Set gtk-menu-items to TRUE.
author Jan D <jan.h.d@swipnet.se>
date Fri, 17 Sep 2010 11:58:44 +0200
parents ec3a9ffbd128
children 4bca1a43c0d3
files src/ChangeLog src/gtkutil.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Sep 14 19:55:44 2010 -0700
+++ b/src/ChangeLog	Fri Sep 17 11:58:44 2010 +0200
@@ -1,3 +1,7 @@
+2010-09-17  Jan Djärv  <jan.h.d@swipnet.se>
+
+	* gtkutil.c (xg_tool_bar_menu_proxy): Set gtk-menu-items to TRUE.
+
 2010-09-12  Jan Djärv  <jan.h.d@swipnet.se>
 
 	* xterm.c (get_current_vm_state): New function.
--- a/src/gtkutil.c	Tue Sep 14 19:55:44 2010 -0700
+++ b/src/gtkutil.c	Fri Sep 17 11:58:44 2010 +0200
@@ -3590,6 +3590,8 @@
       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;