[epiphany] ephy-window: add extra bindings for zoom in/out



commit 1150405cc1bc50d6c258cb723a76ae90d8945f73
Author: Xan Lopez <xan igalia com>
Date:   Mon Jan 16 19:20:44 2012 +0100

    ephy-window: add extra bindings for zoom in/out
    
    They are not in any menu either atm.

 src/ephy-window.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index f8e7031..b901098 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 },



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