diff options
author | Gustavo Noronha Silva <gns@gnome.org> | 2009-12-10 03:35:59 +0800 |
---|---|---|
committer | Gustavo Noronha Silva <gns@gnome.org> | 2009-12-10 23:02:39 +0800 |
commit | 5e0f51772f48a473d3e1fce9757320a15c6d82d5 (patch) | |
tree | a16572a80e71a9ea06633c5df3eeb0aff5b5276c /embed/ephy-web-view.c | |
parent | a32fe7def38497fc58c2b9645f79311093245f7f (diff) | |
download | gsoc2013-epiphany-5e0f51772f48a473d3e1fce9757320a15c6d82d5.tar.gz gsoc2013-epiphany-5e0f51772f48a473d3e1fce9757320a15c6d82d5.tar.zst gsoc2013-epiphany-5e0f51772f48a473d3e1fce9757320a15c6d82d5.zip |
Make the favicon cache work on top of new WebKit API, and WebKitDownload
This restores basic favicon functionality. In the future we will want
to replace our favicon cache with the IconDatabase that is available
in WebKit.
Bug #601859
Diffstat (limited to 'embed/ephy-web-view.c')
-rw-r--r-- | embed/ephy-web-view.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index a0a7c3a33..04d317209 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -694,14 +694,14 @@ ephy_web_view_class_init (EphyWebViewClass *klass) G_TYPE_STRING | G_SIGNAL_TYPE_STATIC_SCOPE); /** - * EphyWebView::ge-favicon: + * EphyWebView::favicon: * @view: the #EphyWebView that received the signal * @address: the URL to @embed's web site's favicon * * The ::ge_favicon signal is emitted when @embed discovers that a favourite * icon (favicon) is available for the site it is visiting. **/ - g_signal_new ("ge_favicon", + g_signal_new ("favicon", EPHY_TYPE_WEB_VIEW, G_SIGNAL_RUN_FIRST, G_STRUCT_OFFSET (EphyWebViewClass, favicon), @@ -929,9 +929,9 @@ icon_cache_changed_cb (EphyFaviconCache *cache, } static void -ge_favicon_cb (EphyWebView *view, - const char *address, - gpointer user_data) +favicon_cb (EphyWebView *view, + const char *address, + gpointer user_data) { ephy_web_view_set_icon_address (view, address); } @@ -1077,8 +1077,8 @@ ephy_web_view_init (EphyWebView *web_view) G_CALLBACK (mime_type_policy_decision_requested_cb), NULL); - g_signal_connect_object (web_view, "ge_favicon", - G_CALLBACK (ge_favicon_cb), + g_signal_connect_object (web_view, "favicon", + G_CALLBACK (favicon_cb), web_view, (GConnectFlags)0); g_signal_connect_object (web_view, "ge_new_window", |