Bug 387417 - Set org.gnome.desktop.interface gtk-theme in DConf
Summary: Set org.gnome.desktop.interface gtk-theme in DConf
Status: RESOLVED FIXED
Alias: None
Product: kde-gtk-config
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Manuel Tortosa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-28 19:56 UTC by tingping
Modified: 2017-12-11 06:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description tingping 2017-11-28 19:56:52 UTC
This dconf key is what GNOME uses and is read by `flatpak`, `gsd-xsettings`, and `gtk3` (on Wayland). The ini file method is flawed as it isn't readable from a sandboxed application, changes can't be detected, etc. (Note that the schemas is provided by `gsettings-desktop-schemas` which may not be installed)
Comment 1 Jan Grulich 2017-12-11 06:11:44 UTC
Git commit 87040960da7e9e587b4cb61251807e164aa53483 by Jan Grulich.
Committed on 11/12/2017 at 06:11.
Pushed by grulich into branch 'master'.

Save gtk3 configuration to dconf as well

Summary:
Currently all gtk3 configuration is stored to a config file in ini format, while
this configuration is still used and supported, it is not used by applications
running under flatpak. To have this configuration available to sandboxed applications
we have to use dconf, which is exposed to flatpak applications.

Reviewers: apol

Reviewed By: apol

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D9163

M  +13   -10   CMakeLists.txt
A  +23   -0    cmake/modules/FindGSettingSchemas.cmake
M  +26   -2    cmake/modules/FindGTK3.cmake
M  +37   -5    src/appearancegtk3.cpp

https://commits.kde.org/kde-gtk-config/87040960da7e9e587b4cb61251807e164aa53483