From 9b28d05c705e157ad0d3ba8bc8eefc3f15599182 Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Sun, 31 Jul 2005 18:54:37 +0000 Subject: Fix location entry favicon updating. 2005-07-31 Christian Persch * lib/widgets/ephy-location-entry.c: Fix location entry favicon updating. --- ChangeLog | 6 ++++++ lib/widgets/ephy-location-entry.c | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ec4596376..66d919fae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-07-31 Christian Persch + + * lib/widgets/ephy-location-entry.c: + + Fix location entry favicon updating. + 2005-07-31 Christian Persch * src/ephy-window.c: 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. -- cgit v1.2.3