diff options
author | Christian Persch <chpe@src.gnome.org> | 2008-04-09 21:44:12 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2008-04-09 21:44:12 +0800 |
commit | 54ee29b111c482b2540afeca61bbb1733abade14 (patch) | |
tree | 2b32ee5e67b76322629935d843011b54e5d28631 | |
parent | cebe1cf13bc180e0d85396b05daa5c9bbf6063e5 (diff) | |
download | gsoc2013-epiphany-54ee29b111c482b2540afeca61bbb1733abade14.tar gsoc2013-epiphany-54ee29b111c482b2540afeca61bbb1733abade14.tar.gz gsoc2013-epiphany-54ee29b111c482b2540afeca61bbb1733abade14.tar.bz2 gsoc2013-epiphany-54ee29b111c482b2540afeca61bbb1733abade14.tar.lz gsoc2013-epiphany-54ee29b111c482b2540afeca61bbb1733abade14.tar.xz gsoc2013-epiphany-54ee29b111c482b2540afeca61bbb1733abade14.tar.zst gsoc2013-epiphany-54ee29b111c482b2540afeca61bbb1733abade14.zip |
Fix auto-open. Bug #513837.
svn path=/branches/gnome-2-22/; revision=8205
-rw-r--r-- | embed/mozilla/ContentHandler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp index 276223137..abe3401e9 100644 --- a/embed/mozilla/ContentHandler.cpp +++ b/embed/mozilla/ContentHandler.cpp @@ -384,11 +384,13 @@ NS_METHOD GContentHandler::MIMEInitiateAction (void) } } +#ifndef HAVE_GECKO_1_9 if (auto_downloads) { mAction = CONTENT_ACTION_OPEN; } else +#endif /* !HAVE_GECKO_1_9 */ { mAction = CONTENT_ACTION_OPEN_TMP; } |