# HG changeset patch # User Jan D # Date 1284717524 -7200 # Node ID 1cdff3b101d62cf6fa27e02898eb19630014a3f9 # Parent ec3a9ffbd1289efa4de763c79e8404888079bd84 Make sure detached tool bar menu isn't blank. * gtkutil.c (xg_tool_bar_menu_proxy): Set gtk-menu-items to TRUE. diff -r ec3a9ffbd128 -r 1cdff3b101d6 src/ChangeLog --- 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 + + * 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 -r ec3a9ffbd128 -r 1cdff3b101d6 src/gtkutil.c --- 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;