Created
April 9, 2015 19:40
-
-
Save bwinton/3419cf7d7d5b97f0d200 to your computer and use it in GitHub Desktop.
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
diff --git a/browser/components/customizableui/CustomizeMode.jsm b/browser/components/customizableui/CustomizeMode.jsm | |
--- a/browser/components/customizableui/CustomizeMode.jsm | |
+++ b/browser/components/customizableui/CustomizeMode.jsm | |
@@ -119,19 +119,20 @@ CustomizeMode.prototype = { | |
} | |
}, | |
swatchForTheme: function(aDocument) { | |
let lwthemeButton = aDocument.getElementById("customization-lwtheme-button"); | |
let lwthemeIcon = aDocument.getAnonymousElementByAttribute(lwthemeButton, | |
"class", "button-icon"); | |
let imageURL = LightweightThemeManager.currentTheme === null ? | |
- "chrome://browser/skin/theme-switcher-icon.png" : | |
- LightweightThemeManager.currentTheme.iconURL; | |
- lwthemeIcon.style.backgroundImage = "url(" + imageURL + ")"; | |
+ "url(chrome://browser/skin/theme-switcher-icon.png)" : | |
+ "url(" + LightweightThemeManager.currentTheme.iconURL + "), " + | |
+ "url(chrome://browser/skin/theme-switcher-icon.png)"; | |
+ lwthemeIcon.style.backgroundImage = imageURL; | |
}, | |
enter: function() { | |
this._wantToBeInCustomizeMode = true; | |
if (this._customizing || this._handler.isEnteringCustomizeMode) { | |
return; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment