gnulinux: add support for system theme
Use 'color-scheme' from gsettings if available to check if dark theme is preferred. Otherwise, fall back on theme name from 'gtk-theme'. The default is to follow the system theme (if supported), and 'EnableDarkTheme' would be unused. 'AppTheme' can currently have one of three values: 'System', 'Dark', 'Light'. Change-Id: I8008c8fe0f4750c97e71838fff0031f80b685f5e GitLab: #723
Showing
- src/app/appsettingsmanager.h 1 addition, 0 deletionssrc/app/appsettingsmanager.h
- src/app/constant/JamiStrings.qml 3 additions, 1 deletionsrc/app/constant/JamiStrings.qml
- src/app/constant/JamiTheme.qml 5 additions, 1 deletionsrc/app/constant/JamiTheme.qml
- src/app/settingsview/components/SystemSettings.qml 41 additions, 9 deletionssrc/app/settingsview/components/SystemSettings.qml
- src/app/utilsadapter.cpp 71 additions, 0 deletionssrc/app/utilsadapter.cpp
- src/app/utilsadapter.h 20 additions, 0 deletionssrc/app/utilsadapter.h
Loading
Please register or sign in to comment