From 68a134b7bbdf147afca4d3b2ba361c73155bbeba Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Tue, 13 Nov 2007 22:36:43 +0000 Subject: Uncomment icon update for history in EphyBaseEmbed, it works just fine. svn path=/trunk/; revision=7686 --- embed/ephy-base-embed.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) (limited to 'embed') diff --git a/embed/ephy-base-embed.c b/embed/ephy-base-embed.c index 79e7146f3..2ca7a1490 100644 --- a/embed/ephy-base-embed.c +++ b/embed/ephy-base-embed.c @@ -1189,8 +1189,8 @@ ephy_base_embed_set_icon_address (EphyBaseEmbed *embed, { GObject *object = G_OBJECT (embed); EphyBaseEmbedPrivate *priv = embed->priv; - /* EphyHistory *history; - EphyBookmarks *eb;*/ + EphyHistory *history; + /* EphyBookmarks *eb;*/ g_free (priv->icon_address); priv->icon_address = g_strdup (address); @@ -1203,12 +1203,9 @@ ephy_base_embed_set_icon_address (EphyBaseEmbed *embed, } if (priv->icon_address) { - /* FIXME: we need to put this somewhere inside src?/ - history = EPHY_HISTORY - (ephy_embed_shell_get_global_history (embed_shell)); - ephy_history_set_icon (history, priv->address, - priv->icon_address); - + history = EPHY_HISTORY (ephy_embed_shell_get_global_history (embed_shell)); + ephy_history_set_icon (history, priv->address, priv->icon_address); + /* eb = ephy_shell_get_bookmarks (ephy_shell); ephy_bookmarks_set_icon (eb, priv->address, priv->icon_address);*/ -- cgit v1.2.3