From 35f11238a4f2d9f7809cf151dd60e9eaa102671e Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Fri, 17 Jul 2009 19:37:49 +0200 Subject: [PATCH] No Print or Reset Zoom in context menu, but Print in compact menu --- midori/midori-browser.c | 1 + midori/midori-view.c | 6 ------ 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/midori/midori-browser.c b/midori/midori-browser.c index 94844016..d9c397a3 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -2547,6 +2547,7 @@ _action_compact_menu_populate_popup (GtkAction* action, { "WindowNew" }, { "Open" }, { "PrivateBrowsing" }, + { "Print" }, { NULL }, { "Bookmarkbar" }, { "Panel" }, diff --git a/midori/midori-view.c b/midori/midori-view.c index 674a06bd..58cbf908 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -1318,9 +1318,6 @@ webkit_web_view_populate_popup_cb (WebKitWebView* web_view, menuitem = sokoke_action_create_popup_menu_item ( gtk_action_group_get_action (actions, "ZoomOut")); 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 ( 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 ( gtk_action_group_get_action (actions, "SourceView")); 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); } }