aboutsummaryrefslogtreecommitdiffstats
path: root/lib/widgets/ephy-location-entry.c
diff options
context:
space:
mode:
authorCrispin Flowerday <gnome@flowerday.cx>2006-01-23 02:24:25 +0800
committerCrispin Flowerday <crispin@src.gnome.org>2006-01-23 02:24:25 +0800
commita15031fa988776912f9ee2a9c80e7ebbd0fbefc0 (patch)
tree934e89aa7d0de83ddc2893ac22f40f5890b38de2 /lib/widgets/ephy-location-entry.c
parentddc468228b25b1fe64a4926acdd176fab188d173 (diff)
downloadgsoc2013-epiphany-a15031fa988776912f9ee2a9c80e7ebbd0fbefc0.tar
gsoc2013-epiphany-a15031fa988776912f9ee2a9c80e7ebbd0fbefc0.tar.gz
gsoc2013-epiphany-a15031fa988776912f9ee2a9c80e7ebbd0fbefc0.tar.bz2
gsoc2013-epiphany-a15031fa988776912f9ee2a9c80e7ebbd0fbefc0.tar.lz
gsoc2013-epiphany-a15031fa988776912f9ee2a9c80e7ebbd0fbefc0.tar.xz
gsoc2013-epiphany-a15031fa988776912f9ee2a9c80e7ebbd0fbefc0.tar.zst
gsoc2013-epiphany-a15031fa988776912f9ee2a9c80e7ebbd0fbefc0.zip
When updating the address bar, always update the address state, sometimes
2006-01-22 Crispin Flowerday <gnome@flowerday.cx> * lib/widgets/ephy-location-entry.c (ephy_location_entry_set_location): When updating the address bar, always update the address state, sometimes it isn't updated if the text in the GtkEntry isn't altered (and hence the 'changed' signal isn't called.
Diffstat (limited to 'lib/widgets/ephy-location-entry.c')
-rw-r--r--lib/widgets/ephy-location-entry.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index 2c5faeb44..a77797a40 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -997,6 +997,9 @@ ephy_location_entry_set_location (EphyLocationEntry *entry,
gtk_entry_set_text (GTK_ENTRY (priv->icon_entry->entry), text);
priv->user_changed = TRUE;
+ /* We need to call update_address_state() here, as the 'changed' signal
+ * may not get called if the user has typed in the exact correct url */
+ update_address_state (entry);
update_favicon (entry);
/* Now restore the selection.