aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2012-04-04 22:13:52 +0800
committerClaudio Saavedra <csaavedra@igalia.com>2012-09-01 02:34:01 +0800
commitd8ae12d7144c26575e7c6ed167fcfe13fa8cdd96 (patch)
treee207e41543c00c8e3e546365e78934b2894f1a9a
parentbab19d14a7714bc7929cc7d51699e59127fa921e (diff)
downloadgsoc2013-epiphany-d8ae12d7144c26575e7c6ed167fcfe13fa8cdd96.tar.gz
gsoc2013-epiphany-d8ae12d7144c26575e7c6ed167fcfe13fa8cdd96.tar.zst
gsoc2013-epiphany-d8ae12d7144c26575e7c6ed167fcfe13fa8cdd96.zip
ephy-window: show the overview on alt+home
-rw-r--r--src/ephy-window.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 5e4b7d474..ba4c10913 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, "FileHome", 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 },
@@ -1443,6 +1444,16 @@ setup_ui_manager (EphyWindow *window)
gtk_action_group_add_action_with_accel (action_group, action, "<control>T");
g_object_unref (action);
+ action =
+ g_object_new (EPHY_TYPE_HOME_ACTION,
+ "name", "FileHome",
+ "label", _("Go to most visited"),
+ NULL);
+ gtk_action_group_add_action_with_accel (action_group, action, "<alt>Home");
+ g_signal_connect_swapped (action, "open-link",
+ G_CALLBACK (ephy_link_open), window);
+ g_object_unref (action);
+
action = g_object_new (EPHY_TYPE_COMBINED_STOP_RELOAD_ACTION,
"name", "ViewCombinedStopReload",
"loading", FALSE,