From c044acd19e68216221a157cfa884f90f5d3739a2 Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Thu, 8 Sep 2011 17:53:51 +0200 Subject: ephy-toolbar: undo this hack We'll do things properly now. --- src/ephy-toolbar.c | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/src/ephy-toolbar.c b/src/ephy-toolbar.c index 5879c082b..ed67a70f9 100644 --- a/src/ephy-toolbar.c +++ b/src/ephy-toolbar.c @@ -331,10 +331,8 @@ ephy_toolbar_set_window (EphyToolbar *toolbar, "stock_id", STOCK_NEW_TAB, "tooltip", _("Open a new tab"), NULL); - - if (ephy_embed_shell_get_mode (embed_shell) != EPHY_EMBED_SHELL_MODE_APPLICATION) - g_signal_connect_swapped (action, "open-link", - G_CALLBACK (ephy_link_open), toolbar); + g_signal_connect_swapped (action, "open-link", + G_CALLBACK (ephy_link_open), toolbar); gtk_action_group_add_action_with_accel (priv->action_group, action, "T"); @@ -346,9 +344,8 @@ ephy_toolbar_set_window (EphyToolbar *toolbar, "stock_id", STOCK_NEW_WINDOW, "tooltip", _("Open a new window"), NULL); - if (ephy_embed_shell_get_mode (embed_shell) != EPHY_EMBED_SHELL_MODE_APPLICATION) - g_signal_connect_swapped (action, "open-link", - G_CALLBACK (ephy_link_open), toolbar); + g_signal_connect_swapped (action, "open-link", + G_CALLBACK (ephy_link_open), toolbar); gtk_action_group_add_action_with_accel (priv->action_group, action, "N"); -- cgit v1.2.3