[epiphany] ephy-window: remove GoHome action, it's not used (I hope!)



commit c8e32cef45ed75b2430b41647a3f99dbacd872a2
Author: Xan Lopez <xan igalia com>
Date:   Mon Jan 2 13:47:39 2012 +0100

    ephy-window: remove GoHome action, it's not used (I hope!)

 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 488cf31..59bc6b9 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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]