No Print or Reset Zoom in context menu, but Print in compact menu

This commit is contained in:
Christian Dywan 2009-07-17 19:37:49 +02:00
parent 0c5ce0e515
commit 35f11238a4
2 changed files with 1 additions and 6 deletions

View file

@ -2547,6 +2547,7 @@ _action_compact_menu_populate_popup (GtkAction* action,
{ "WindowNew" }, { "WindowNew" },
{ "Open" }, { "Open" },
{ "PrivateBrowsing" }, { "PrivateBrowsing" },
{ "Print" },
{ NULL }, { NULL },
{ "Bookmarkbar" }, { "Bookmarkbar" },
{ "Panel" }, { "Panel" },

View file

@ -1318,9 +1318,6 @@ webkit_web_view_populate_popup_cb (WebKitWebView* web_view,
menuitem = sokoke_action_create_popup_menu_item ( menuitem = sokoke_action_create_popup_menu_item (
gtk_action_group_get_action (actions, "ZoomOut")); gtk_action_group_get_action (actions, "ZoomOut"));
gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem); gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
menuitem = sokoke_action_create_popup_menu_item (
gtk_action_group_get_action (actions, "ZoomNormal"));
gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
menuitem = sokoke_action_create_popup_menu_item ( menuitem = sokoke_action_create_popup_menu_item (
gtk_action_group_get_action (actions, "Encoding")); gtk_action_group_get_action (actions, "Encoding"));
@ -1375,9 +1372,6 @@ webkit_web_view_populate_popup_cb (WebKitWebView* web_view,
menuitem = sokoke_action_create_popup_menu_item ( menuitem = sokoke_action_create_popup_menu_item (
gtk_action_group_get_action (actions, "SourceView")); gtk_action_group_get_action (actions, "SourceView"));
gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem); gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
menuitem = sokoke_action_create_popup_menu_item (
gtk_action_group_get_action (actions, "Print"));
gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);
} }
} }