aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2007-11-14 06:36:43 +0800
committerXan Lopez <xan@src.gnome.org>2007-11-14 06:36:43 +0800
commit68a134b7bbdf147afca4d3b2ba361c73155bbeba (patch)
treeabdd7ee0ce8ce07d318523998c1ebcede0ec9dd0
parent344bc7be01a6bcd2f6bdcf7346ce9a376877d304 (diff)
downloadgsoc2013-epiphany-68a134b7bbdf147afca4d3b2ba361c73155bbeba.tar
gsoc2013-epiphany-68a134b7bbdf147afca4d3b2ba361c73155bbeba.tar.gz
gsoc2013-epiphany-68a134b7bbdf147afca4d3b2ba361c73155bbeba.tar.bz2
gsoc2013-epiphany-68a134b7bbdf147afca4d3b2ba361c73155bbeba.tar.lz
gsoc2013-epiphany-68a134b7bbdf147afca4d3b2ba361c73155bbeba.tar.xz
gsoc2013-epiphany-68a134b7bbdf147afca4d3b2ba361c73155bbeba.tar.zst
gsoc2013-epiphany-68a134b7bbdf147afca4d3b2ba361c73155bbeba.zip
Uncomment icon update for history in EphyBaseEmbed, it works just fine.
svn path=/trunk/; revision=7686
-rw-r--r--embed/ephy-base-embed.c13
1 files changed, 5 insertions, 8 deletions
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);*/