Bug 1378108 - Part 3 - Migrate Firebug theme users to the light theme;r=Gijs
MozReview-Commit-ID: 9a8bNvMVAGr
This commit is contained in:
@@ -1838,7 +1838,7 @@ BrowserGlue.prototype = {
|
||||
|
||||
// eslint-disable-next-line complexity
|
||||
_migrateUI: function BG__migrateUI() {
|
||||
const UI_VERSION = 66;
|
||||
const UI_VERSION = 67;
|
||||
const BROWSER_DOCURL = "chrome://browser/content/browser.xul";
|
||||
|
||||
let currentUIVersion;
|
||||
@@ -2187,6 +2187,13 @@ BrowserGlue.prototype = {
|
||||
this._migrateMatchBucketsPrefForUI66();
|
||||
}
|
||||
|
||||
if (currentUIVersion < 67) {
|
||||
// Migrate devtools firebug theme users to light theme (bug 1378108):
|
||||
if (Services.prefs.getCharPref("devtools.theme") == "firebug") {
|
||||
Services.prefs.setCharPref("devtools.theme", "light");
|
||||
}
|
||||
}
|
||||
|
||||
// Update the migration version.
|
||||
Services.prefs.setIntPref("browser.migration.version", UI_VERSION);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user