It turns out that this upstream fix still causes a confirmation dialog
to be presented rather than auto-downloading.

I found that adding the following additional diff helps:

--- epiphany-browser-2.22.1.1.orig/embed/mozilla/ContentHandler.cpp»2008-04-16 
19:24:54.000000000 +0100
+++ epiphany-browser-2.22.1.1/embed/mozilla/ContentHandler.cpp»·2008-04-16 
19:28:07.000000000 +0100
@@ -394,7 +402,7 @@
                 mAction = auto_downloads ? CONTENT_ACTION_DOWNLOAD : 
CONTENT_ACTION_NONE;
                 MIMEConfirmAction ();
         }
-                else if (mAction == CONTENT_ACTION_OPEN_TMP)
+                else if (mAction == CONTENT_ACTION_OPEN_TMP && !auto_downloads)
         {
                 MIMEConfirmAction ();
         }

I've posted this on the upstream bug report to see if I'm along the
right lines, or if there was just some problem with my "backported" fix.

-- 
clicking on a link to a document does not open it
https://bugs.launchpad.net/bugs/181128
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to