Ensure action menu items don't show all

This commit is contained in:
Christian Dywan 2010-10-24 19:18:07 +02:00
parent 22e24e97bd
commit 1e12cb208b
2 changed files with 1 additions and 1 deletions

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

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