diff options
author | Xan Lopez <xan@igalia.com> | 2012-01-02 20:47:39 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-01-02 20:47:39 +0800 |
commit | c8e32cef45ed75b2430b41647a3f99dbacd872a2 (patch) | |
tree | 27a491e010bf294031a8f0b9ad6ecebefaa6f0b5 /src | |
parent | a2b83fee101195cf14b3788366a68ee169a755cc (diff) | |
download | gsoc2013-epiphany-c8e32cef45ed75b2430b41647a3f99dbacd872a2.tar gsoc2013-epiphany-c8e32cef45ed75b2430b41647a3f99dbacd872a2.tar.gz gsoc2013-epiphany-c8e32cef45ed75b2430b41647a3f99dbacd872a2.tar.bz2 gsoc2013-epiphany-c8e32cef45ed75b2430b41647a3f99dbacd872a2.tar.lz gsoc2013-epiphany-c8e32cef45ed75b2430b41647a3f99dbacd872a2.tar.xz gsoc2013-epiphany-c8e32cef45ed75b2430b41647a3f99dbacd872a2.tar.zst gsoc2013-epiphany-c8e32cef45ed75b2430b41647a3f99dbacd872a2.zip |
ephy-window: remove GoHome action, it's not used (I hope!)
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-window.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index 488cf315c..59bc6b958 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -407,14 +407,12 @@ static const struct { XF86XK_Forward, 0, "NavigationForward", TRUE }, { XF86XK_Go, 0, "GoLocation", FALSE }, { XF86XK_History, 0, "GoHistory", FALSE }, - { XF86XK_HomePage, 0, "GoHome", TRUE }, { XF86XK_OpenURL, 0, "GoLocation", FALSE }, { XF86XK_AddFavorite, 0, "FileBookmarkPage", FALSE }, { XF86XK_Refresh, 0, "ViewReload", FALSE }, { XF86XK_Reload, 0, "ViewReload", FALSE }, { XF86XK_Search, 0, "EditFind", FALSE }, { XF86XK_Send, 0, "FileSendTo", FALSE }, - { XF86XK_Start, 0, "GoHome", TRUE }, { XF86XK_Stop, 0, "ViewStop", FALSE }, { XF86XK_ZoomIn, 0, "ViewZoomIn", FALSE }, { XF86XK_ZoomOut, 0, "ViewZoomOut", FALSE } @@ -1625,17 +1623,6 @@ setup_ui_manager (EphyWindow *window) gtk_action_group_add_action (action_group, action); g_object_unref (action); - - action = g_object_new (EPHY_TYPE_HOME_ACTION, - "name", "GoHome", - "label", _("_Home"), - "stock_id", GTK_STOCK_HOME, - "tooltip", _("Go to the home page"), - "is_important", TRUE, - NULL); - gtk_action_group_add_action_with_accel (action_group, action, "<alt>Home"); - g_object_unref (action); - action = g_object_new (EPHY_TYPE_ZOOM_ACTION, "name", "Zoom", @@ -3740,11 +3727,6 @@ setup_toolbar (EphyWindow *window) G_CALLBACK (ephy_link_open), window); action = gtk_action_group_get_action (priv->toolbar_action_group, - "GoHome"); - g_signal_connect_swapped (action, "open-link", - G_CALLBACK (ephy_link_open), window); - - action = gtk_action_group_get_action (priv->toolbar_action_group, "Zoom"); g_signal_connect (action, "zoom-to-level", G_CALLBACK (zoom_to_level_cb), window); |