From a838f6d5ab82bac98a25fb3ce9cb2c0cd575146c Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Fri, 20 Jun 2003 15:43:38 +0000 Subject: Use the embed url, the tab one can make no sense if the user edited it. 2003-06-20 Marco Pesenti Gritti * src/ephy-favicon-action.c: (each_url_get_data_binder): Use the embed url, the tab one can make no sense if the user edited it. * src/toolbar.c: (location_user_changed_cb), (toolbar_set_window), (toolbar_init), (toolbar_set_location): Block location updating when setting tab title on user_changed. --- src/ephy-favicon-action.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/ephy-favicon-action.c') diff --git a/src/ephy-favicon-action.c b/src/ephy-favicon-action.c index aa88571c5..8a35d8012 100644 --- a/src/ephy-favicon-action.c +++ b/src/ephy-favicon-action.c @@ -84,14 +84,18 @@ static void each_url_get_data_binder (EphyDragEachSelectedItemDataGet iteratee, gpointer iterator_context, gpointer data) { - const char *location; + char *location; EphyTab *tab; + EphyEmbed *embed; EphyWindow *window = EPHY_WINDOW(iterator_context); tab = ephy_window_get_active_tab (window); - location = ephy_tab_get_location (tab); + embed = ephy_tab_get_embed (tab); + ephy_embed_get_location (embed, TRUE, &location); iteratee (location, -1, -1, -1, -1, data); + + g_free (location); } static void -- cgit v1.2.3