diff options
Diffstat (limited to 'embed/mozilla')
-rw-r--r-- | embed/mozilla/ContentHandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/embed/mozilla/ContentHandler.cpp b/embed/mozilla/ContentHandler.cpp index 32a18ca96..eee5bca71 100644 --- a/embed/mozilla/ContentHandler.cpp +++ b/embed/mozilla/ContentHandler.cpp @@ -316,8 +316,9 @@ NS_METHOD GContentHandler::MIMEAskAction (void) if (!auto_open || !DefaultApp || permission != EPHY_MIME_PERMISSION_SAFE) { + if (eel_gconf_get_boolean (CONF_LOCKDOWN_DISABLE_SAVE_TO_DISK)) return NS_OK; nsCOMPtr<nsIHelperAppLauncher> launcher; - + rv = mContentHandler->GetLauncher (getter_AddRefs(launcher)); if (NS_FAILED (rv)) return rv; launcher->SaveToDisk (nsnull,PR_FALSE); |