From 1d7901ce605fa19fbd558e70541b2afe83df5f94 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sat, 18 Sep 2004 07:50:10 +0000 Subject: reviewed by: Christian Persch 2004-09-18 Marco Pesenti Gritti reviewed by: Christian Persch * embed/ephy-embed-persist.h: * embed/ephy-favicon-cache.c: (ephy_favicon_cache_download): * embed/mozilla/MozDownload.cpp: Enable conversion for favicon downloads. Fix #152866. --- embed/mozilla/MozDownload.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'embed/mozilla/MozDownload.cpp') diff --git a/embed/mozilla/MozDownload.cpp b/embed/mozilla/MozDownload.cpp index 7e25a1faa..eec039641 100644 --- a/embed/mozilla/MozDownload.cpp +++ b/embed/mozilla/MozDownload.cpp @@ -530,7 +530,8 @@ nsresult InitiateMozillaDownload (nsIDOMDocument *domDocument, nsIURI *sourceURI PRInt32 flags = nsIWebBrowserPersist::PERSIST_FLAGS_REPLACE_EXISTING_FILES; - if (!domDocument && !isHTML && !(ephy_flags & EMBED_PERSIST_COPY_PAGE)) + if (!domDocument && !isHTML && !(ephy_flags & EMBED_PERSIST_COPY_PAGE) && + !(ephy_flags & EMBED_PERSIST_DO_CONVERSION)) { flags |= nsIWebBrowserPersist::PERSIST_FLAGS_NO_CONVERSION; } -- cgit v1.2.3