]> spindle.queued.net Git - midori/commitdiff
Ensure action menu items don't show all
authorChristian Dywan <christian@twotoasts.de>
Sun, 24 Oct 2010 17:18:07 +0000 (19:18 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sun, 24 Oct 2010 19:06:26 +0000 (21:06 +0200)
midori/midori-view.c
midori/sokoke.c

index f365eb8a7a215d7993d80ea8e390e4ab864d496a..bc6836a07db484f668e70e24a86ead8e6d860daa 100644 (file)
@@ -2612,7 +2612,6 @@ midori_view_populate_popup (MidoriView* view,
         menuitem = sokoke_action_create_popup_menu_item (
                 gtk_action_group_get_action (actions, "AddDesktopShortcut"));
         gtk_menu_shell_append (menu_shell, menuitem);
-        gtk_widget_set_no_show_all (menuitem, TRUE);
         #endif
 
         menuitem = sokoke_action_create_popup_menu_item (
index 3ea06d25af8dc6717e2f67687fbc1a2bc5754c27..3c445337b43c08fbc5c8de244285df25880e012c 100644 (file)
@@ -1295,6 +1295,7 @@ sokoke_action_create_popup_menu_item (GtkAction* action)
     }
     gtk_widget_set_sensitive (menuitem, sensitive);
     sokoke_widget_set_visible (menuitem, visible);
+    gtk_widget_set_no_show_all (menuitem, TRUE);
     g_signal_connect_swapped (menuitem, "activate",
                               G_CALLBACK (gtk_action_activate), action);