From 2adb51b91a4bef0ee4cec877932b833b572f411a Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Wed, 10 Nov 2004 13:27:15 +0000 Subject: Fix opening content with external content handlers. 2004-11-10 Christian Persch * embed/mozilla/ContentHandler.cpp: Fix opening content with external content handlers. --- embed/mozilla/ContentHandler.cpp | 18 ++---------------- 1 file 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) { -- cgit