From 66abde2db90e8f33a13479f106586ccd1dd3b6f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20St=C3=B6sel?= Date: Sun, 22 Apr 2012 14:21:11 +0200 Subject: [PATCH] Check "cancel-download" as well as "open-download" Fixes: https://bugs.launchpad.net/midori/+bug/986839 --- extensions/external-download-manager.vala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extensions/external-download-manager.vala b/extensions/external-download-manager.vala index f7266f7a..b4e783ab 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 ("save-as-download") == null - && download.get_data ("open-download") == null) { + && download.get_data ("open-download") == null + && download.get_data ("cancel-download") == null) { var dlReq = new DownloadRequest (); dlReq.uri = download.get_uri ();