diff options
author | Xan Lopez <xan@igalia.com> | 2012-12-10 17:41:33 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-12-10 17:41:33 +0800 |
commit | f181b76b33dc8841e89b3b3adac32cf3f459e058 (patch) | |
tree | 5f2a23b19acc02939fedb1899cfa7c01a237fbbc /src | |
parent | 56d6c08c3f1a71296d1d9ed03add8c5fd44cdf6c (diff) | |
download | gsoc2013-epiphany-f181b76b33dc8841e89b3b3adac32cf3f459e058.tar gsoc2013-epiphany-f181b76b33dc8841e89b3b3adac32cf3f459e058.tar.gz gsoc2013-epiphany-f181b76b33dc8841e89b3b3adac32cf3f459e058.tar.bz2 gsoc2013-epiphany-f181b76b33dc8841e89b3b3adac32cf3f459e058.tar.lz gsoc2013-epiphany-f181b76b33dc8841e89b3b3adac32cf3f459e058.tar.xz gsoc2013-epiphany-f181b76b33dc8841e89b3b3adac32cf3f459e058.tar.zst gsoc2013-epiphany-f181b76b33dc8841e89b3b3adac32cf3f459e058.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-window.c | 4 | ||||
-rw-r--r-- | 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 10e0d8e1c..e749fb5fe 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 1c974292e..493cff2a7 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"/> |