aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlos Garcia Campos <cgarcia@igalia.com>2012-08-23 17:38:15 +0800
committerCarlos Garcia Campos <carlosgc@gnome.org>2012-08-23 17:39:44 +0800
commit89cea2719b229ff64cf5b59e110839ee8c3ca12e (patch)
tree090e14231d2207da1fd35f42d1b1e2f6c7688b53
parentb09ae523dc5d2dda70661233f66df2c9683cb7a9 (diff)
downloadgsoc2013-epiphany-89cea2719b229ff64cf5b59e110839ee8c3ca12e.tar.gz
gsoc2013-epiphany-89cea2719b229ff64cf5b59e110839ee8c3ca12e.tar.zst
gsoc2013-epiphany-89cea2719b229ff64cf5b59e110839ee8c3ca12e.zip
window-commands: Get the suggested filename from the response in WebKit2 too
-rw-r--r--src/window-commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/window-commands.c b/src/window-commands.c
index 0a6c464cf..44e880ca3 100644
--- a/src/window-commands.c
+++ b/src/window-commands.c
@@ -312,7 +312,7 @@ get_suggested_filename (EphyWebView *view)
else
{
#ifdef HAVE_WEBKIT2
- /* TODO: suggested filename */
+ suggested_filename = g_strdup (webkit_uri_response_get_suggested_filename (response));
#else
WebKitNetworkResponse *response;