[epiphany] ephy-window: make <ctrl>KP_0 an alias to <ctrl>0



commit c1199f2b921e60cadc26e350f4f6590f84197d3b
Author: Diego Escalante Urrelo <diegoe gnome org>
Date:   Fri Sep 4 20:50:20 2009 -0500

    ephy-window: make <ctrl>KP_0 an alias to <ctrl>0
    
    Bug 573624 - Reset font size with ctrl+0 from num block

 src/ephy-window.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 8407104..d4d29c2 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -367,6 +367,7 @@ static const struct
 	{ GDK_KP_Add,		GDK_CONTROL_MASK,	"ViewZoomIn",		FALSE },
 	{ GDK_KP_Subtract,	GDK_CONTROL_MASK,	"ViewZoomOut",		FALSE },
 	{ GDK_equal,		GDK_CONTROL_MASK,	"ViewZoomIn",		FALSE },
+	{ GDK_KP_0,		GDK_CONTROL_MASK,	"ViewZoomNormal",	FALSE },
 	/* These keys are a bit strange: when pressed with no modifiers, they emit
 	 * KP_PageUp/Down Control; when pressed with Control+Shift they are KP_9/3,
 	 * when NumLock is on they are KP_9/3 and with NumLock and Control+Shift



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