aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 6f64ff023..87cb491f8 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -1300,13 +1300,18 @@ setup_ui_manager (EphyWindow *window)
}
static void
-sync_tab_address (EphyTab *tab, GParamSpec *pspec, EphyWindow *window)
+sync_tab_address (EphyTab *tab,
+ GParamSpec *pspec,
+ EphyWindow *window)
{
- if (window->priv->closing) return;
+ EphyWindowPrivate *priv = window->priv;
+
+ if (priv->closing) return;
- ephy_toolbar_set_location (window->priv->toolbar,
+ ephy_toolbar_set_location (priv->toolbar,
ephy_tab_get_address (tab),
ephy_tab_get_typed_address (tab));
+ ephy_find_toolbar_request_close (priv->find_toolbar);
}
static void