]> spindle.queued.net Git - midori/commitdiff
External download manager should skip image viewer
authorChristian Dywan <christian@twotoasts.de>
Sun, 8 Jul 2012 21:04:27 +0000 (23:04 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sun, 8 Jul 2012 21:04:27 +0000 (23:04 +0200)
extensions/external-download-manager.vala

index b4e783ab3f9edee5e738d53693d372e3e5cae32c..b9e9606d4e39767b76a9ac99dd1c61222c6f204d 100644 (file)
@@ -37,6 +37,7 @@ 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-in-viewer") == null
              && download.get_data<void*> ("cancel-download") == null) {
                 var dlReq = new DownloadRequest ();
                 dlReq.uri = download.get_uri ();