winecfg: Change system theme alongside app theme.

This commit is contained in:
Helix Graziani 2023-10-07 18:18:34 -04:00 committed by Alexandre Julliard
parent 9d7c813b5e
commit 26471dd00e
52 changed files with 149 additions and 81 deletions

View file

@ -19748,8 +19748,10 @@ msgid "&Theme:"
msgstr "السّم&ة:"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgstr ""
#, fuzzy
#| msgid "&Theme:"
msgid "&WinRT theme:"
msgstr "السّم&ة:"
#: programs/winecfg/winecfg.rc:297
msgid "&Install theme..."

View file

@ -18345,8 +18345,10 @@ msgid "&Theme:"
msgstr "&Estilu:"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgstr ""
#, fuzzy
#| msgid "&Theme:"
msgid "&WinRT theme:"
msgstr "&Estilu:"
#: programs/winecfg/winecfg.rc:297
msgid "&Install theme..."

View file

@ -18375,8 +18375,10 @@ msgid "&Theme:"
msgstr "Тема:"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgstr ""
#, fuzzy
#| msgid "&Theme:"
msgid "&WinRT theme:"
msgstr "Тема:"
#: programs/winecfg/winecfg.rc:297
msgid "&Install theme..."

View file

@ -18712,8 +18712,10 @@ msgid "&Theme:"
msgstr "&Tema:"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgstr ""
#, fuzzy
#| msgid "&Theme:"
msgid "&WinRT theme:"
msgstr "&Tema:"
#: programs/winecfg/winecfg.rc:297
msgid "&Install theme..."

View file

@ -19144,8 +19144,10 @@ msgid "&Theme:"
msgstr "&Téma:"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgstr ""
#, fuzzy
#| msgid "&Theme:"
msgid "&WinRT theme:"
msgstr "&Téma:"
#: programs/winecfg/winecfg.rc:297
msgid "&Install theme..."

View file

@ -19663,8 +19663,10 @@ msgid "&Theme:"
msgstr "&Tema:"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgstr ""
#, fuzzy
#| msgid "&Theme:"
msgid "&WinRT theme:"
msgstr "&Tema:"
#: programs/winecfg/winecfg.rc:297
msgid "&Install theme..."

View file

@ -18612,7 +18612,9 @@ msgid "&Theme:"
msgstr "&Thema:"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
#, fuzzy
#| msgid "&WinRT app theme:"
msgid "&WinRT theme:"
msgstr "&WinRT App-Thema:"
#: programs/winecfg/winecfg.rc:297

View file

@ -17970,7 +17970,7 @@ msgid "&Theme:"
msgstr ""
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgid "&WinRT theme:"
msgstr ""
#: programs/winecfg/winecfg.rc:297

View file

@ -18496,8 +18496,8 @@ msgid "&Theme:"
msgstr "&Theme:"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgstr "&WinRT app theme:"
msgid "&WinRT theme:"
msgstr "&WinRT theme:"
#: programs/winecfg/winecfg.rc:297
msgid "&Install theme..."

View file

@ -18496,8 +18496,8 @@ msgid "&Theme:"
msgstr "&Theme:"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgstr "&WinRT app theme:"
msgid "&WinRT theme:"
msgstr "&WinRT theme:"
#: programs/winecfg/winecfg.rc:297
msgid "&Install theme..."

View file

@ -18675,8 +18675,10 @@ msgid "&Theme:"
msgstr "&Etoso:"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgstr ""
#, fuzzy
#| msgid "&Theme:"
msgid "&WinRT theme:"
msgstr "&Etoso:"
#: programs/winecfg/winecfg.rc:297
msgid "&Install theme..."

View file

@ -18993,8 +18993,10 @@ msgid "&Theme:"
msgstr "&Tema:"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgstr ""
#, fuzzy
#| msgid "&Theme:"
msgid "&WinRT theme:"
msgstr "&Tema:"
#: programs/winecfg/winecfg.rc:297
msgid "&Install theme..."

View file

@ -18175,7 +18175,7 @@ msgid "&Theme:"
msgstr ""
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgid "&WinRT theme:"
msgstr ""
#: programs/winecfg/winecfg.rc:297

View file

@ -18452,7 +18452,9 @@ msgid "&Theme:"
msgstr "&Teema:"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
#, fuzzy
#| msgid "&WinRT app theme:"
msgid "&WinRT theme:"
msgstr "&WinRT-sovellusten teema:"
#: programs/winecfg/winecfg.rc:297

View file

@ -19281,8 +19281,10 @@ msgid "&Theme:"
msgstr "&Thème :"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgstr ""
#, fuzzy
#| msgid "&Theme:"
msgid "&WinRT theme:"
msgstr "&Thème :"
#: programs/winecfg/winecfg.rc:297
msgid "&Install theme..."

View file

@ -19164,7 +19164,7 @@ msgid "&Theme:"
msgstr ""
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgid "&WinRT theme:"
msgstr ""
#: programs/winecfg/winecfg.rc:297

View file

@ -17624,7 +17624,7 @@ msgid "&Theme:"
msgstr ""
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgid "&WinRT theme:"
msgstr ""
#: programs/winecfg/winecfg.rc:297

View file

@ -19109,8 +19109,10 @@ msgid "&Theme:"
msgstr "&Tema:"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgstr ""
#, fuzzy
#| msgid "&Theme:"
msgid "&WinRT theme:"
msgstr "&Tema:"
#: programs/winecfg/winecfg.rc:297
msgid "&Install theme..."

View file

@ -19658,8 +19658,10 @@ msgid "&Theme:"
msgstr "Téma:"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgstr ""
#, fuzzy
#| msgid "&Theme:"
msgid "&WinRT theme:"
msgstr "Téma:"
#: programs/winecfg/winecfg.rc:297
msgid "&Install theme..."

View file

@ -19752,8 +19752,10 @@ msgid "&Theme:"
msgstr "&Tema:"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgstr ""
#, fuzzy
#| msgid "&Theme:"
msgid "&WinRT theme:"
msgstr "&Tema:"
#: programs/winecfg/winecfg.rc:297
msgid "&Install theme..."

View file

@ -18560,8 +18560,10 @@ msgid "&Theme:"
msgstr "テーマ(&T):"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgstr ""
#, fuzzy
#| msgid "&Theme:"
msgid "&WinRT theme:"
msgstr "テーマ(&T):"
#: programs/winecfg/winecfg.rc:297
msgid "&Install theme..."

View file

@ -17793,7 +17793,9 @@ msgid "&Theme:"
msgstr "&თემა:"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
#, fuzzy
#| msgid "&WinRT app theme:"
msgid "&WinRT theme:"
msgstr "&WinRT აპის თემა:"
#: programs/winecfg/winecfg.rc:297

View file

@ -18498,8 +18498,10 @@ msgid "&Theme:"
msgstr "테마(&T):"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgstr ""
#, fuzzy
#| msgid "&Theme:"
msgid "&WinRT theme:"
msgstr "테마(&T):"
#: programs/winecfg/winecfg.rc:297
msgid "&Install theme..."

View file

@ -18519,7 +18519,9 @@ msgid "&Theme:"
msgstr "&Apipavidalinimas:"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
#, fuzzy
#| msgid "&WinRT app theme:"
msgid "&WinRT theme:"
msgstr "&WinRT programos tema:"
#: programs/winecfg/winecfg.rc:297

View file

@ -17627,7 +17627,7 @@ msgid "&Theme:"
msgstr ""
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgid "&WinRT theme:"
msgstr ""
#: programs/winecfg/winecfg.rc:297

View file

@ -19215,8 +19215,10 @@ msgid "&Theme:"
msgstr "&Tema:"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgstr ""
#, fuzzy
#| msgid "&Theme:"
msgid "&WinRT theme:"
msgstr "&Tema:"
#: programs/winecfg/winecfg.rc:297
msgid "&Install theme..."

View file

@ -18585,7 +18585,9 @@ msgid "&Theme:"
msgstr "Thema:"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
#, fuzzy
#| msgid "&WinRT app theme:"
msgid "&WinRT theme:"
msgstr "Thema voor &WinRT programma's:"
#: programs/winecfg/winecfg.rc:297

View file

@ -17609,7 +17609,7 @@ msgid "&Theme:"
msgstr ""
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgid "&WinRT theme:"
msgstr ""
#: programs/winecfg/winecfg.rc:297

View file

@ -17609,7 +17609,7 @@ msgid "&Theme:"
msgstr ""
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgid "&WinRT theme:"
msgstr ""
#: programs/winecfg/winecfg.rc:297

View file

@ -18786,8 +18786,10 @@ msgid "&Theme:"
msgstr "Wys&trój:"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgstr ""
#, fuzzy
#| msgid "&Theme:"
msgid "&WinRT theme:"
msgstr "Wys&trój:"
#: programs/winecfg/winecfg.rc:297
msgid "&Install theme..."

View file

@ -18851,8 +18851,10 @@ msgid "&Theme:"
msgstr "&Tema:"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgstr ""
#, fuzzy
#| msgid "&Theme:"
msgid "&WinRT theme:"
msgstr "&Tema:"
#: programs/winecfg/winecfg.rc:297
msgid "&Install theme..."

View file

@ -19396,8 +19396,10 @@ msgid "&Theme:"
msgstr "&Tema:"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgstr ""
#, fuzzy
#| msgid "&Theme:"
msgid "&WinRT theme:"
msgstr "&Tema:"
#: programs/winecfg/winecfg.rc:297
msgid "&Install theme..."

View file

@ -17750,7 +17750,7 @@ msgid "&Theme:"
msgstr ""
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgid "&WinRT theme:"
msgstr ""
#: programs/winecfg/winecfg.rc:297

View file

@ -19411,8 +19411,10 @@ msgid "&Theme:"
msgstr "Tematică:"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgstr ""
#, fuzzy
#| msgid "&Theme:"
msgid "&WinRT theme:"
msgstr "Tematică:"
#: programs/winecfg/winecfg.rc:297
msgid "&Install theme..."

View file

@ -18814,8 +18814,10 @@ msgid "&Theme:"
msgstr "&Тема:"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgstr ""
#, fuzzy
#| msgid "&Theme:"
msgid "&WinRT theme:"
msgstr "&Тема:"
#: programs/winecfg/winecfg.rc:297
msgid "&Install theme..."

View file

@ -18416,8 +18416,10 @@ msgid "&Theme:"
msgstr "තේමාව (&T):"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgstr ""
#, fuzzy
#| msgid "&Theme:"
msgid "&WinRT theme:"
msgstr "තේමාව (&T):"
#: programs/winecfg/winecfg.rc:297
msgid "&Install theme..."

View file

@ -18854,7 +18854,7 @@ msgid "&Theme:"
msgstr ""
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgid "&WinRT theme:"
msgstr ""
#: programs/winecfg/winecfg.rc:297

View file

@ -19681,8 +19681,10 @@ msgid "&Theme:"
msgstr "&Tema:"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgstr ""
#, fuzzy
#| msgid "&Theme:"
msgid "&WinRT theme:"
msgstr "&Tema:"
#: programs/winecfg/winecfg.rc:297
msgid "&Install theme..."

View file

@ -18970,7 +18970,7 @@ msgid "&Theme:"
msgstr ""
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgid "&WinRT theme:"
msgstr ""
#: programs/winecfg/winecfg.rc:297

View file

@ -19173,8 +19173,10 @@ msgid "&Theme:"
msgstr "&Tema:"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgstr ""
#, fuzzy
#| msgid "&Theme:"
msgid "&WinRT theme:"
msgstr "&Tema:"
#: programs/winecfg/winecfg.rc:297
msgid "&Install theme..."

View file

@ -19350,8 +19350,10 @@ msgid "&Theme:"
msgstr "&Tema:"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgstr ""
#, fuzzy
#| msgid "&Theme:"
msgid "&WinRT theme:"
msgstr "&Tema:"
#: programs/winecfg/winecfg.rc:297
msgid "&Install theme..."

View file

@ -17594,7 +17594,7 @@ msgid "&Theme:"
msgstr ""
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgid "&WinRT theme:"
msgstr ""
#: programs/winecfg/winecfg.rc:297

View file

@ -17609,7 +17609,7 @@ msgid "&Theme:"
msgstr ""
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgid "&WinRT theme:"
msgstr ""
#: programs/winecfg/winecfg.rc:297

View file

@ -18280,7 +18280,7 @@ msgid "&Theme:"
msgstr ""
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgid "&WinRT theme:"
msgstr ""
#: programs/winecfg/winecfg.rc:297

View file

@ -18605,8 +18605,10 @@ msgid "&Theme:"
msgstr "&Tema:"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgstr ""
#, fuzzy
#| msgid "&Theme:"
msgid "&WinRT theme:"
msgstr "&Tema:"
#: programs/winecfg/winecfg.rc:297
msgid "&Install theme..."

View file

@ -18630,8 +18630,10 @@ msgid "&Theme:"
msgstr "&Тема:"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgstr ""
#, fuzzy
#| msgid "&Theme:"
msgid "&WinRT theme:"
msgstr "&Тема:"
#: programs/winecfg/winecfg.rc:297
msgid "&Install theme..."

View file

@ -18131,7 +18131,7 @@ msgid "&Theme:"
msgstr ""
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgid "&WinRT theme:"
msgstr ""
#: programs/winecfg/winecfg.rc:297

View file

@ -17513,7 +17513,7 @@ msgid "&Theme:"
msgstr ""
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgid "&WinRT theme:"
msgstr ""
#: programs/winecfg/winecfg.rc:297

View file

@ -18307,8 +18307,10 @@ msgid "&Theme:"
msgstr "主题(&T):"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgstr ""
#, fuzzy
#| msgid "&Theme:"
msgid "&WinRT theme:"
msgstr "主题(&T):"
#: programs/winecfg/winecfg.rc:297
msgid "&Install theme..."

View file

@ -18373,8 +18373,10 @@ msgid "&Theme:"
msgstr "主題(&T):"
#: programs/winecfg/winecfg.rc:295
msgid "&WinRT app theme:"
msgstr ""
#, fuzzy
#| msgid "&Theme:"
msgid "&WinRT theme:"
msgstr "主題(&T):"
#: programs/winecfg/winecfg.rc:297
msgid "&Install theme..."

View file

@ -505,6 +505,8 @@ static void on_theme_changed(HWND dialog) {
index = SendMessageW (GetDlgItem (dialog, IDC_THEME_APPCOMBO), CB_GETCURSEL, 0, 0);
set_reg_key_dword(HKEY_CURRENT_USER, L"Software\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize",
L"AppsUseLightTheme", !index);
set_reg_key_dword(HKEY_CURRENT_USER, L"Software\\Microsoft\\Windows\\CurrentVersion\\Themes\\Personalize",
L"SystemUsesLightTheme", !index);
theme_dirty = TRUE;
}

View file

@ -291,7 +291,7 @@ BEGIN
GROUPBOX "Appearance",IDC_STATIC,8,4,244,90
LTEXT "&Theme:",IDC_STATIC,15,15,105,8
COMBOBOX IDC_THEME_THEMECOMBO,15,25,105,60,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
LTEXT "&WinRT app theme:",IDC_STATIC,126,15,119,8
LTEXT "&WinRT theme:",IDC_STATIC,126,15,119,8
COMBOBOX IDC_THEME_APPCOMBO,126,25,119,60,CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
PUSHBUTTON "&Install theme...",IDC_THEME_INSTALL,157,50,88,13
LTEXT "&Color:",IDC_THEME_COLORTEXT,15,40,60,8