diff options
author | Xan Lopez <xan@src.gnome.org> | 2007-11-14 07:15:57 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2007-11-14 07:15:57 +0800 |
commit | d6350b598732e34420261238b01d2bfb187349c1 (patch) | |
tree | 44ae47001b310b432adf9dcdc87bb0e729d28829 /src/bookmarks | |
parent | 68a134b7bbdf147afca4d3b2ba361c73155bbeba (diff) | |
download | gsoc2013-epiphany-d6350b598732e34420261238b01d2bfb187349c1.tar gsoc2013-epiphany-d6350b598732e34420261238b01d2bfb187349c1.tar.gz gsoc2013-epiphany-d6350b598732e34420261238b01d2bfb187349c1.tar.bz2 gsoc2013-epiphany-d6350b598732e34420261238b01d2bfb187349c1.tar.lz gsoc2013-epiphany-d6350b598732e34420261238b01d2bfb187349c1.tar.xz gsoc2013-epiphany-d6350b598732e34420261238b01d2bfb187349c1.tar.zst gsoc2013-epiphany-d6350b598732e34420261238b01d2bfb187349c1.zip |
Add icon-updated signal to EphyHistory.
Use it to update the bookmarks icon, as it was done in EphyTab before.
svn path=/trunk/; revision=7687
Diffstat (limited to 'src/bookmarks')
-rw-r--r-- | src/bookmarks/ephy-bookmarks.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/bookmarks/ephy-bookmarks.c b/src/bookmarks/ephy-bookmarks.c index 097e4cac9..121326874 100644 --- a/src/bookmarks/ephy-bookmarks.c +++ b/src/bookmarks/ephy-bookmarks.c @@ -517,6 +517,15 @@ redirect_cb (EphyHistory *history, } static void +icon_updated_cb (EphyHistory *history, + const char *address, + const char *icon, + EphyBookmarks *eb) +{ + ephy_bookmarks_set_icon (eb, address, icon); +} + +static void ephy_setup_history_notifiers (EphyBookmarks *eb) { EphyHistory *history; @@ -534,6 +543,8 @@ ephy_setup_history_notifiers (EphyBookmarks *eb) G_CALLBACK (history_cleared_cb), eb); g_signal_connect (history, "redirect", G_CALLBACK (redirect_cb), eb); + g_signal_connect (history, "icon-updated", + G_CALLBACK (icon_updated_cb), eb); } static void |