Ensure action menu items don't show all
This commit is contained in:
parent
22e24e97bd
commit
1e12cb208b
2 changed files with 1 additions and 1 deletions
|
@ -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 (
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue