From c8e32cef45ed75b2430b41647a3f99dbacd872a2 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Mon, 2 Jan 2012 13:47:39 +0100 Subject: ephy-window: remove GoHome action, it's not used (I hope!) --- src/ephy-window.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src') 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, "Home"); - g_object_unref (action); - action = g_object_new (EPHY_TYPE_ZOOM_ACTION, "name", "Zoom", @@ -3739,11 +3726,6 @@ setup_toolbar (EphyWindow *window) g_signal_connect_swapped (action, "open-link", 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", -- cgit v1.2.3