Remove Preferences and Menubar items from the context menu
This commit is contained in:
parent
8ac1633deb
commit
7e01ea42df
1 changed files with 0 additions and 13 deletions
|
@ -1308,19 +1308,6 @@ webkit_web_view_populate_popup_cb (WebKitWebView* web_view,
|
||||||
gtk_action_group_get_action (actions, "UndoTabClose"));
|
gtk_action_group_get_action (actions, "UndoTabClose"));
|
||||||
gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
|
gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
|
||||||
|
|
||||||
if (1)
|
|
||||||
{
|
|
||||||
menuitem = gtk_separator_menu_item_new ();
|
|
||||||
gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
|
|
||||||
gtk_widget_show (menuitem);
|
|
||||||
menuitem = sokoke_action_create_popup_menu_item (
|
|
||||||
gtk_action_group_get_action (actions, "Menubar"));
|
|
||||||
gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
|
|
||||||
menuitem = sokoke_action_create_popup_menu_item (
|
|
||||||
gtk_action_group_get_action (actions, "Preferences"));
|
|
||||||
gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
|
|
||||||
}
|
|
||||||
|
|
||||||
menuitem = gtk_separator_menu_item_new ();
|
menuitem = gtk_separator_menu_item_new ();
|
||||||
gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
|
gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
|
||||||
gtk_widget_show (menuitem);
|
gtk_widget_show (menuitem);
|
||||||
|
|
Loading…
Reference in a new issue