-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue #1124: [Basilisk] Remove Dev Edition front-end tie-ins.
- Loading branch information
Showing
7 changed files
with
2 additions
and
211 deletions.
There are no files selected for viewing
142 changes: 0 additions & 142 deletions
142
application/basilisk/base/content/browser-devedition.js
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -676,19 +676,6 @@ BrowserGlue.prototype = { | |
// Ensure we keep track of places/pw-mananager undo by init'ing this early. | ||
Cu.import("resource:///modules/AutoMigrate.jsm"); | ||
|
||
if (!AppConstants.RELEASE_OR_BETA) { | ||
let themeName = gBrowserBundle.GetStringFromName("deveditionTheme.name"); | ||
let vendorShortName = gBrandBundle.GetStringFromName("vendorShortName"); | ||
|
||
LightweightThemeManager.addBuiltInTheme({ | ||
id: "[email protected]", | ||
name: themeName, | ||
headerURL: "resource:///chrome/browser/content/browser/defaultthemes/devedition.header.png", | ||
iconURL: "resource:///chrome/browser/content/browser/defaultthemes/devedition.icon.png", | ||
author: vendorShortName, | ||
}); | ||
} | ||
|
||
TabCrashHandler.init(); | ||
|
||
Services.obs.notifyObservers(null, "browser-ui-startup-complete", ""); | ||
|
@@ -1943,14 +1930,8 @@ BrowserGlue.prototype = { | |
defaultThemeSelected = Services.prefs.getCharPref("general.skins.selectedSkin") == "classic/1.0"; | ||
} catch (e) {} | ||
|
||
// If we are on the devedition channel, the devedition theme is on by | ||
// default. But we need to handle the case where they didn't want it | ||
// applied, and unapply the theme. | ||
let userChoseToNotUseDeveditionTheme = | ||
!defaultThemeSelected || | ||
(lightweightThemeSelected && selectedThemeID != "[email protected]"); | ||
|
||
if (userChoseToNotUseDeveditionTheme && selectedThemeID == "[email protected]") { | ||
// If we have the dev edition theme selected, reset it. | ||
if (selectedThemeID == "[email protected]") { | ||
Services.prefs.setCharPref("lightweightThemes.selectedThemeID", ""); | ||
} | ||
|
||
|
42 changes: 0 additions & 42 deletions
42
...tion/basilisk/tools/mozscreenshots/mozscreenshots/extension/configurations/DevEdition.jsm
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters