]> spindle.queued.net Git - midori/commitdiff
No Print or Reset Zoom in context menu, but Print in compact menu
authorChristian Dywan <christian@twotoasts.de>
Fri, 17 Jul 2009 17:37:49 +0000 (19:37 +0200)
committerChristian Dywan <christian@twotoasts.de>
Fri, 17 Jul 2009 17:37:49 +0000 (19:37 +0200)
midori/midori-browser.c
midori/midori-view.c

index 948440166971d892f4b1d12a29c7624340eec75a..d9c397a36fcaca39dfd86fccb85d8529f18167b3 100644 (file)
@@ -2547,6 +2547,7 @@ _action_compact_menu_populate_popup (GtkAction*     action,
       { "WindowNew" },
       { "Open" },
       { "PrivateBrowsing" },
+      { "Print" },
       { NULL },
       { "Bookmarkbar" },
       { "Panel" },
index 674a06bd5e37489ece0da469add090dff0854c71..58cbf9084cf000ae68890bf468a9c32ff00d46dc 100644 (file)
@@ -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);
     }
 }