From: Christian Dywan Date: Sun, 24 Oct 2010 17:18:07 +0000 (+0200) Subject: Ensure action menu items don't show all X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e12cb208b7b5f32ec240205aed73312811747aa;p=midori Ensure action menu items don't show all --- diff --git a/midori/midori-view.c b/midori/midori-view.c index f365eb8a..bc6836a0 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -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 ( diff --git a/midori/sokoke.c b/midori/sokoke.c index 3ea06d25..3c445337 100644 --- a/midori/sokoke.c +++ b/midori/sokoke.c @@ -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);