diff options
-rw-r--r-- | src/ephy-window.c | 11 |
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, |