GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still and

Commit afb9893b authored by Georg Koppen's avatar Georg Koppen
Browse files

Bug 21920: Don't show locale selection dialog

The locale selection dialog was one of the features we included in the
hardened series. It is not needed on the alpha or stable channel. We
therefore disable it, keeping the code as we might be able to resue it
for #17400 later on.
parent 336e7c87
......@@ -290,7 +290,10 @@ let TorLauncherUtil = // Public
get shouldPromptForLocale()
const kPrefPromptForLocale = "extensions.torlauncher.prompt_for_locale";
// We are not supporting locale selection on the alpha/stable channel
// right now. Thus, no prompt for the user.
return false;
/* const kPrefPromptForLocale = "extensions.torlauncher.prompt_for_locale";
const kEnvSkipLocalePrompt = "TOR_SKIP_LOCALE_PROMPT";
......@@ -301,7 +304,7 @@ let TorLauncherUtil = // Public
return ("1" != env.get(kEnvSkipLocalePrompt));
} catch(e) {}
return this.getBoolPref(kPrefPromptForLocale, true);
return this.getBoolPref(kPrefPromptForLocale, true); */
get shouldShowNetworkSettings()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment