Lightweight Theming should have a listener for lightweightThemes.isThemeSelected

RESOLVED WONTFIX

Status

()

Firefox
Theme
RESOLVED WONTFIX
9 years ago
9 years ago

People

(Reporter: mkaply, Unassigned)

Tracking

Trunk
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

9 years ago
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
Last Resolved: 9 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.