aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-favicon-action.c
diff options
context:
space:
mode:
authorMarco Pesenti Gritti <marco@it.gnome.org>2003-06-20 23:43:38 +0800
committerMarco Pesenti Gritti <mpeseng@src.gnome.org>2003-06-20 23:43:38 +0800
commita838f6d5ab82bac98a25fb3ce9cb2c0cd575146c (patch)
tree705c36ad0fb609a241d35dcf8c629102b09907e5 /src/ephy-favicon-action.c
parent476c242753cd43a612cd9eea3166c77d822f7c80 (diff)
downloadgsoc2013-epiphany-a838f6d5ab82bac98a25fb3ce9cb2c0cd575146c.tar
gsoc2013-epiphany-a838f6d5ab82bac98a25fb3ce9cb2c0cd575146c.tar.gz
gsoc2013-epiphany-a838f6d5ab82bac98a25fb3ce9cb2c0cd575146c.tar.bz2
gsoc2013-epiphany-a838f6d5ab82bac98a25fb3ce9cb2c0cd575146c.tar.lz
gsoc2013-epiphany-a838f6d5ab82bac98a25fb3ce9cb2c0cd575146c.tar.xz
gsoc2013-epiphany-a838f6d5ab82bac98a25fb3ce9cb2c0cd575146c.tar.zst
gsoc2013-epiphany-a838f6d5ab82bac98a25fb3ce9cb2c0cd575146c.zip
Use the embed url, the tab one can make no sense if the user edited it.
2003-06-20 Marco Pesenti Gritti <marco@it.gnome.org> * 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.
Diffstat (limited to 'src/ephy-favicon-action.c')
-rw-r--r--src/ephy-favicon-action.c8
1 files changed, 6 insertions, 2 deletions
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