From: Christian Dywan Date: Mon, 22 Jun 2009 19:29:39 +0000 (+0200) Subject: Add zooming items to the context menu X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35ef1f7485dc967d231115c6eb8c00ce827c88b3;p=midori Add zooming items to the context menu --- diff --git a/midori/midori-view.c b/midori/midori-view.c index 094fc7db..5ee83414 100644 --- a/midori/midori-view.c +++ b/midori/midori-view.c @@ -1312,6 +1312,20 @@ webkit_web_view_populate_popup_cb (WebKitWebView* web_view, 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, "ZoomIn")); + gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem); + 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 = 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, "BookmarkAdd")); gtk_menu_shell_append (GTK_MENU_SHELL (menu), menuitem);