From e2e50d065f19b8d0ceb52214a54da7206c033c66 Mon Sep 17 00:00:00 2001 From: FranklinDM Date: Mon, 15 Jan 2024 02:23:38 +0800 Subject: [PATCH] Issue #2454 - Guard the classic email account wizard with its own configure option --- build/moz.configure/old.configure | 1 + mailnews/base/content/msgAccountCentral.xul | 14 ++++++------ .../base/prefs/content/AccountManager.xul | 22 +++++++++---------- mailnews/base/prefs/content/AccountWizard.xul | 8 +++---- mailnews/base/prefs/content/accountUtils.js | 2 ++ mailnews/jar.mn | 4 ++-- old-configure.in | 15 +++++++++++++ 7 files changed, 42 insertions(+), 24 deletions(-) diff --git a/build/moz.configure/old.configure b/build/moz.configure/old.configure index 6c826269dd..6dcc86546e 100644 --- a/build/moz.configure/old.configure +++ b/build/moz.configure/old.configure @@ -312,6 +312,7 @@ def old_configure_options(*options): '--enable-incomplete-external-linkage', '--enable-mailnews', '--enable-mailnews-oauth2', + '--enable-classic-account-wizard', # Below are configure flags used by Pale Moon '--disable-browser-statusbar', diff --git a/mailnews/base/content/msgAccountCentral.xul b/mailnews/base/content/msgAccountCentral.xul index c1a43b0358..f6eef90a35 100644 --- a/mailnews/base/content/msgAccountCentral.xul +++ b/mailnews/base/content/msgAccountCentral.xul @@ -153,19 +153,19 @@ -#if defined(MOZ_THUNDERBIRD) && defined(HYPE_ICEDOVE) - -#if defined(MOZ_THUNDERBIRD) && defined(HYPE_ICEDOVE) +#else +