Make sure detached tool bar menu isn't blank.

* gtkutil.c (xg_tool_bar_menu_proxy): Set gtk-menu-items to TRUE.
This commit is contained in:
Jan D 2010-09-17 11:58:44 +02:00
parent ea7f9ebfda
commit 2b5b82db49
2 changed files with 6 additions and 0 deletions

View 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.

View 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;