]> git.eshelyaron.com Git - emacs.git/commitdiff
Make sure detached tool bar menu isn't blank.
authorJan D <jan.h.d@swipnet.se>
Fri, 17 Sep 2010 09:58:44 +0000 (11:58 +0200)
committerJan D <jan.h.d@swipnet.se>
Fri, 17 Sep 2010 09:58:44 +0000 (11:58 +0200)
* gtkutil.c (xg_tool_bar_menu_proxy): Set gtk-menu-items to TRUE.

src/ChangeLog
src/gtkutil.c

index d6e3151b1f5cf354a68c84f4d12949d68eb38dbc..0329f40d110d29482211a57f8e846c1d8ff47c5d 100644 (file)
@@ -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.
index 1a90aabc1c63b183818545dad0fd7baa3ee7a145..7a25bbb1e3f7b5e76858fdfc8ce4e91ced4293ca 100644 (file)
@@ -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;