mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-20 16:55:40 +00:00
Bug 613037 - add common windows themes to default themes list. r=neil, a=2.0.
This commit is contained in:
parent
eadfd13629
commit
7da1154530
@ -359,6 +359,7 @@ struct THEMELIST {
|
||||
int type;
|
||||
};
|
||||
|
||||
// When adding themes, update sIsDefaultWindowsTheme settings below.
|
||||
const THEMELIST knownThemes[] = {
|
||||
{ L"aero.msstyles", WINTHEME_AERO },
|
||||
{ L"luna.msstyles", WINTHEME_LUNA },
|
||||
@ -431,7 +432,10 @@ nsUXThemeData::UpdateNativeThemeInfo()
|
||||
if (theme == WINTHEME_UNRECOGNIZED)
|
||||
return;
|
||||
|
||||
if (theme == WINTHEME_AERO || theme == WINTHEME_LUNA)
|
||||
if (theme == WINTHEME_AERO ||
|
||||
theme == WINTHEME_LUNA ||
|
||||
theme == WINTHEME_ZUNE ||
|
||||
theme == WINTHEME_ROYALE)
|
||||
sIsDefaultWindowsTheme = PR_TRUE;
|
||||
|
||||
if (theme != WINTHEME_LUNA) {
|
||||
|
Loading…
Reference in New Issue
Block a user