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



commit 1ee763a1178597408570fc513caf02d1940f834a
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 ccb6cec..3d85722 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -258,6 +258,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 },
@@ -1357,7 +1358,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]