[Xfce4-commits] <midori:master> Manually start save-as type downloads

Christian Dywan noreply at xfce.org
Sun Jul 8 23:06:03 CEST 2012


Updating branch refs/heads/master
         to 3bdf2e7b73c418df0bc82699cba3f83eb0617f19 (commit)
       from 57397ee22919f991a82847c79f8f25934ffd9af1 (commit)

commit 3bdf2e7b73c418df0bc82699cba3f83eb0617f19
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sun Jul 8 23:04:56 2012 +0200

    Manually start save-as type downloads

 midori/midori-browser.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index 35ff659..3ba01c9 100644
--- a/midori/midori-browser.c
+++ b/midori/midori-browser.c
@@ -1442,6 +1442,7 @@ midori_view_download_requested_cb (GtkWidget*      view,
         g_signal_connect (download, "notify::status",
             G_CALLBACK (midori_browser_download_status_cb), GTK_WIDGET (browser));
         g_free (destination_uri);
+        webkit_download_start (download);
     }
     else if (!webkit_download_get_destination_uri (download))
     {
@@ -1495,6 +1496,7 @@ midori_view_download_requested_cb (GtkWidget*      view,
             midori_browser_prepare_download (browser, download, destination_uri);
             g_free (destination_uri);
         }
+        webkit_download_start (download);
     }
 
     /* Close empty tabs due to download links with a target */


More information about the Xfce4-commits mailing list