diff options
author | Christian Persch <chpe@cvs.gnome.org> | 2004-11-10 21:27:15 +0800 |
---|---|---|
committer | Christian Persch <chpe@src.gnome.org> | 2004-11-10 21:27:15 +0800 |
commit | 2adb51b91a4bef0ee4cec877932b833b572f411a (patch) | |
tree | cc5d07c4cd187cae2a65f5ebc836895d4d6250e7 /embed/mozilla/ContentHandler.cpp | |
parent | 7dcc6d4bb192250daf127584f544a2c6f44d17e9 (diff) | |
download | gsoc2013-epiphany-2adb51b91a4bef0ee4cec877932b833b572f411a.tar gsoc2013-epiphany-2adb51b91a4bef0ee4cec877932b833b572f411a.tar.gz gsoc2013-epiphany-2adb51b91a4bef0ee4cec877932b833b572f411a.tar.bz2 gsoc2013-epiphany-2adb51b91a4bef0ee4cec877932b833b572f411a.tar.lz gsoc2013-epiphany-2adb51b91a4bef0ee4cec877932b833b572f411a.tar.xz gsoc2013-epiphany-2adb51b91a4bef0ee4cec877932b833b572f411a.tar.zst gsoc2013-epiphany-2adb51b91a4bef0ee4cec877932b833b572f411a.zip |
Fix opening content with external content handlers.
2004-11-10 Christian Persch <chpe@cvs.gnome.org>
* embed/mozilla/ContentHandler.cpp:
Fix opening content with external content handlers.
Diffstat (limited to 'embed/mozilla/ContentHandler.cpp')
-rw-r--r-- | embed/mozilla/ContentHandler.cpp | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp index e47b0377d..59d05bb28 100644 --- a/embed/mozilla/ContentHandler.cpp +++ b/embed/mozilla/ContentHandler.cpp @@ -394,25 +394,11 @@ NS_METHOD GContentHandler::MIMEDoAction (void) if (mAction == CONTENT_ACTION_OPEN) { - if (mAppSupportScheme) - { - LaunchHelperApp (); - } - else - { - mLauncher->SaveToDisk (nsnull, PR_FALSE); - } + mLauncher->SaveToDisk (nsnull, PR_FALSE); } else if (mAction == CONTENT_ACTION_OPEN_TMP) { - if (mAppSupportScheme) - { - LaunchHelperApp (); - } - else - { - mLauncher->LaunchWithApplication (nsnull, PR_FALSE); - } + mLauncher->LaunchWithApplication (nsnull, PR_FALSE); } else if (mAction == CONTENT_ACTION_NONE) { |