[Xfce4-commits] <midori:master> Check "cancel-download" as well as "open-download"
Christian Dywan
noreply at xfce.org
Sat May 12 03:54:01 CEST 2012
Updating branch refs/heads/master
to 66abde2db90e8f33a13479f106586ccd1dd3b6f3 (commit)
from bc967c55639ff34f87ff1c6a0d7333851a7170d6 (commit)
commit 66abde2db90e8f33a13479f106586ccd1dd3b6f3
Author: André Stösel <andre at stoesel.de>
Date: Sun Apr 22 14:21:11 2012 +0200
Check "cancel-download" as well as "open-download"
Fixes: https://bugs.launchpad.net/midori/+bug/986839
extensions/external-download-manager.vala | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/extensions/external-download-manager.vala b/extensions/external-download-manager.vala
index f7266f7..b4e783a 100644
--- a/extensions/external-download-manager.vala
+++ b/extensions/external-download-manager.vala
@@ -36,7 +36,8 @@ namespace EDM {
public bool download_requested (Midori.View view, WebKit.Download download) {
if (download.get_data<void*> ("save-as-download") == null
- && download.get_data<void*> ("open-download") == null) {
+ && download.get_data<void*> ("open-download") == null
+ && download.get_data<void*> ("cancel-download") == null) {
var dlReq = new DownloadRequest ();
dlReq.uri = download.get_uri ();
More information about the Xfce4-commits
mailing list