Closed Bug 521031 Opened 15 years ago Closed 15 years ago

Lightweight Theming should have a listener for lightweightThemes.isThemeSelected

Categories

(Firefox :: Theme, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: mkaply, Unassigned)

Details

The boolean lightweightThemes.isThemeSelected seems to be the internal keeper of whether or not a theme is selected, but changing it in about:config doesn't affect the current theme.

lightweight theme should be listening for it and turn off the theme when it is switched.

This would be an easier way for an external source to turn off the lightweight theme if it needs to.
The lightweight theme manger happens to use prefs to store data, but these prefs aren't meant to be used outside of that manger. The correct way to turn off the current theme is LightweightThemeManager.currentTheme = null.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.