aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
authorXan Lopez <xan@igalia.com>2012-01-17 02:20:44 +0800
committerXan Lopez <xan@igalia.com>2012-01-17 02:20:44 +0800
commit1150405cc1bc50d6c258cb723a76ae90d8945f73 (patch)
treec1b3b6132cf1794f96e7e23c1acc1a214fb597bc /src/ephy-window.c
parent80013eb51b18d612ba3be1181a3797279419db47 (diff)
downloadgsoc2013-epiphany-1150405cc1bc50d6c258cb723a76ae90d8945f73.tar.gz
gsoc2013-epiphany-1150405cc1bc50d6c258cb723a76ae90d8945f73.tar.zst
gsoc2013-epiphany-1150405cc1bc50d6c258cb723a76ae90d8945f73.zip
ephy-window: add extra bindings for zoom in/out
They are not in any menu either atm.
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index f8e70313f..b9010989a 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -343,8 +343,12 @@ static const struct
* extra keybindings, but does not seem to work for some
* reason. */
{ GDK_KEY_e, GDK_MOD1_MASK, "PageMenu", TRUE },
- /* FIXME: this is not in any menu for now, so add it here. */
+ /* FIXME: these are not in any menu for now, so add them here. */
{ GDK_KEY_F11, 0, "ViewFullscreen", FALSE },
+ { GDK_KEY_plus, GDK_CONTROL_MASK, "ViewZoomIn", FALSE },
+ { GDK_KEY_minus, GDK_CONTROL_MASK, "ViewZoomOut", FALSE },
+ { GDK_KEY_0, GDK_CONTROL_MASK, "ViewZoomNormal", FALSE },
+
{ GDK_KEY_s, GDK_CONTROL_MASK, "FileSaveAs", FALSE },
{ GDK_KEY_R, GDK_CONTROL_MASK |
GDK_SHIFT_MASK, "ViewReload", FALSE },