diff options
author | Xan Lopez <xan@gnome.org> | 2010-05-02 21:57:42 +0800 |
---|---|---|
committer | Xan Lopez <xan@gnome.org> | 2010-05-03 19:40:33 +0800 |
commit | 64468d01ba26f414eefff08541caf4c6f6168ffb (patch) | |
tree | e18b4e583d615b0015252db31fd5f57c5a92f8dd /embed/ephy-web-view.c | |
parent | fb45861008ad3bc272ef50f11c37be64078ff7bd (diff) | |
download | gsoc2013-epiphany-64468d01ba26f414eefff08541caf4c6f6168ffb.tar.gz gsoc2013-epiphany-64468d01ba26f414eefff08541caf4c6f6168ffb.tar.zst gsoc2013-epiphany-64468d01ba26f414eefff08541caf4c6f6168ffb.zip |
Move link message updating to EphyWebView
Diffstat (limited to 'embed/ephy-web-view.c')
-rw-r--r-- | embed/ephy-web-view.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/embed/ephy-web-view.c b/embed/ephy-web-view.c index 21925321b..19498da67 100644 --- a/embed/ephy-web-view.c +++ b/embed/ephy-web-view.c @@ -1344,6 +1344,15 @@ uri_changed_cb (WebKitWebView *web_view, } static void +hovering_over_link_cb (EphyWebView *web_view, + char *title, + char *location, + gpointer data) +{ + ephy_web_view_set_link_message (web_view, location); +} + +static void ephy_web_view_constructed (GObject *object) { EphyWebView *web_view = EPHY_WEB_VIEW (object); @@ -1351,6 +1360,7 @@ ephy_web_view_constructed (GObject *object) g_object_connect (web_view, "signal::notify::title", G_CALLBACK (title_changed_cb), NULL, "signal::notify::uri", G_CALLBACK (uri_changed_cb), NULL, + "signal::hovering-over-link", G_CALLBACK (hovering_over_link_cb), NULL, NULL); } |