From 6dc536058bac61c5778099335c2fb55862536fc1 Mon Sep 17 00:00:00 2001 From: Tomeu Date: Fri, 30 Mar 2007 16:41:51 +0200 Subject: [PATCH] Deactivate extension based type checking for Gecko 1.8. --- lib/src/GeckoDownload.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/src/GeckoDownload.cpp b/lib/src/GeckoDownload.cpp index cd45bc84..6f099bdb 100644 --- a/lib/src/GeckoDownload.cpp +++ b/lib/src/GeckoDownload.cpp @@ -86,6 +86,7 @@ GeckoDownload::OnStateChange(nsIWebProgress *aWebProgress, mMIMEInfo->GetMIMEType(mimeType); mSource->GetSpec(url); +#ifdef HAVE_GECKO_1_9 /* If the file is application/octet-stream, look up a better mime type from the extension. */ if(mimeType.Equals(APPLICATION_OCTET_STREAM)) { @@ -105,7 +106,8 @@ GeckoDownload::OnStateChange(nsIWebProgress *aWebProgress, } } } - +#endif + sugar_download_manager_download_started(download_manager, url.get(), mimeType.get(),