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



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

    ephy-window: show the overview on alt+home

 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 829ecc3..cb5c1d0 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -257,6 +257,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 },
@@ -1330,7 +1331,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]