aboutsummaryrefslogtreecommitdiffstats
path: root/embed/ephy-web-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'embed/ephy-web-view.c')
-rw-r--r--embed/ephy-web-view.c10
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);
}