[epiphany] Add the zoom controls to the gear menu



commit f181b76b33dc8841e89b3b3adac32cf3f459e058
Author: Xan Lopez <xan igalia com>
Date:   Mon Dec 10 10:41:33 2012 +0100

    Add the zoom controls to the gear menu
    
    There was no way of zooming in or out from the UI.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=683625

 src/ephy-window.c             |    4 ++--
 src/resources/epiphany-ui.xml |    3 +++
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 10e0d8e..e749fb5 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -152,9 +152,9 @@ static const GtkActionEntry ephy_menu_entries [] = {
 	  NULL, G_CALLBACK (window_cmd_view_stop) },
 	{ "ViewReload", NULL, N_("_Reload"), "<control>R", NULL,
 	  G_CALLBACK (window_cmd_view_reload) },
-	{ "ViewZoomIn", NULL, N_("_Larger Text"), "<control>plus", NULL,
+	{ "ViewZoomIn", NULL, N_("Zoom _In"), "<control>plus", NULL,
 	  G_CALLBACK (window_cmd_view_zoom_in) },
-	{ "ViewZoomOut", NULL, N_("S_maller Text"), "<control>minus", NULL,
+	{ "ViewZoomOut", NULL, N_("Zoom O_ut"), "<control>minus", NULL,
 	  G_CALLBACK (window_cmd_view_zoom_out) },
 	{ "ViewZoomNormal", NULL, N_("_Normal Size"), "<control>0", NULL,
 	  G_CALLBACK (window_cmd_view_zoom_normal) },
diff --git a/src/resources/epiphany-ui.xml b/src/resources/epiphany-ui.xml
index 1c97429..493cff2 100644
--- a/src/resources/epiphany-ui.xml
+++ b/src/resources/epiphany-ui.xml
@@ -79,6 +79,9 @@
                 <menuitem name="EditCopyMenu" action="EditCopy"/>
                 <menuitem name="EditPasteMenu" action="EditPaste"/>
                 <separator name="EditSep3"/> 
+                <menuitem name="ViewZoomInMenu" action="ViewZoomIn"/>
+                <menuitem name="ViewZoomOutMenu" action="ViewZoomOut"/>
+                <separator name="EditSep4"/> 
                 <menuitem name="FilePrintMenu" action="FilePrint"/>
                 <menuitem name="EditFindMenu" action="EditFind"/>
                 <menuitem name="EditPreferencesMenu" action="EditPreferences"/>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]