[epiphany/overview: 12/26] ephy-window: show the overview on alt+home



commit 07a9cff8560a3549aabffc22ebbd400285746449
Author: Claudio Saavedra <csaavedra igalia com>
Date:   Wed Apr 4 17:13:52 2012 +0300

    ephy-window: show the overview on alt+home
    
    https://bugzilla.gnome.org/show_bug.cgi?id=455173

 src/ephy-window.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/ephy-window.c b/src/ephy-window.c
index abd55ad..91360f5 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -262,6 +262,7 @@ static const struct
 	 * extra keybindings, but does not seem to work for some
 	 * reason. */
 	{ GDK_KEY_e,		GDK_MOD1_MASK,	        "PageMenu",		 TRUE },
+	{ GDK_KEY_Home,		GDK_MOD1_MASK,	        "ViewOverviewMode",	 TRUE },
 	/* 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 },
@@ -1395,7 +1396,8 @@ setup_ui_manager (EphyWindow *window)
 	g_signal_connect (action, "activate",
 			  G_CALLBACK (window_cmd_show_overview),
 			  window);
-	gtk_action_group_add_action (action_group, action);
+	gtk_action_group_add_action_with_accel (action_group, action,
+						"<alt>Home");
 	g_object_unref (action);
 
 	action =



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