aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/widgets/ephy-location-entry.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/widgets/ephy-location-entry.c b/lib/widgets/ephy-location-entry.c
index 8d04209d7..c9c43eada 100644
--- a/lib/widgets/ephy-location-entry.c
+++ b/lib/widgets/ephy-location-entry.c
@@ -799,11 +799,13 @@ ephy_location_entry_set_location (EphyLocationEntry *entry,
text = "";
}
+ /* First record the new hash, then update the entry text */
+ priv->hash = g_str_hash (address);
+
priv->user_changed = FALSE;
gtk_entry_set_text (GTK_ENTRY (priv->entry), text);
priv->user_changed = TRUE;
- priv->hash = g_str_hash (address);
update_favicon (entry);
/* Now restore the selection.