From 149fc40d264d09accf4aa62bad7e171219adba94 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Tue, 21 May 2013 06:29:24 +0200 Subject: [PATCH] Implemented one more callback for the popup menu --- src/ghtml-webkit.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ghtml-webkit.c b/src/ghtml-webkit.c index ece2039..c77d19a 100644 --- a/src/ghtml-webkit.c +++ b/src/ghtml-webkit.c @@ -1309,7 +1309,11 @@ static void _on_save_image_as(gpointer data) /* on_save_link_as */ static void _on_save_link_as(gpointer data) { - /* FIXME implement */ + GHtml * ghtml = data; + + surfer_download(ghtml->surfer, ghtml->popup_link, NULL); + free(ghtml->popup_link); + ghtml->popup_link = NULL; } #endif