diff options
author | MohammadHossein Qanbari <[email protected]> | 2025-04-23 16:04:55 +0200 |
---|---|---|
committer | MohammadHossein Qanbari <[email protected]> | 2025-05-30 03:25:04 +0200 |
commit | 2fe9eed3fdd5e7a7a3ebd16f5f683dc84a1eab4c (patch) | |
tree | 7f2d2d552ed615b6baacb992f832de433547607e /src/assets/downloader/tasking/script.js | |
parent | 933338f947554d89414c7bc5507415fe6b5c0460 (diff) |
This patch refactors the DBus integration in both QGnomeTheme and
QGtk3Theme to centralize and simplify the portal and settings access
logic. Previously, the codebase contained duplicated and scattered DBus
logic for querying GNOME/GTK appearance settings, such as color scheme
and contrast, which were implemented separately in both QGnomeTheme and
QGtk3Theme.
The patch introduces a new QGnomePortalInterface class which
encapsulates all DBus interactions related to GNOME/GTK appearance
settings. The old DBus interface logic is removed from QGtk3Theme and
QGnomeTheme, and replaced with calls to the unified
QGnomePortalInterface. The update also ensures signal-based updates for
theme and appearance changes via the new interface.
Change-Id: I5440f7ac00f956b846b18bd890113af0044482f0
Reviewed-by: Oliver Eftevaag <[email protected]>
Reviewed-by: Morten Johan Sørvig <[email protected]>
Diffstat (limited to 'src/assets/downloader/tasking/script.js')
0 files changed, 0 insertions, 0 deletions