[Xfce4-commits] <midori:master> External download manager should skip image viewer

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


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

commit 57397ee22919f991a82847c79f8f25934ffd9af1
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sun Jul 8 23:04:27 2012 +0200

    External download manager should skip image viewer

 extensions/external-download-manager.vala |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/extensions/external-download-manager.vala b/extensions/external-download-manager.vala
index b4e783a..b9e9606 100644
--- a/extensions/external-download-manager.vala
+++ b/extensions/external-download-manager.vala
@@ -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 ();


More information about the Xfce4-commits mailing list