Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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. BUG: 387417 Reviewers: apol Reviewed By: apol Subscribers: plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D9163
- Loading branch information
Showing
4 changed files
with
99 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
find_package(PkgConfig) | ||
|
||
pkg_check_modules(PC_GLIB2 REQUIRED glib-2.0) | ||
|
||
find_path(GLIB_SCHEMAS_DIR org.gnome.desktop.interface.gschema.xml | ||
HINTS ${PC_GLIB2_PREFIX}/share | ||
PATH_SUFFIXES glib-2.0/schemas) | ||
|
||
if (GLIB_SCHEMAS_DIR) | ||
set(GSettingSchemas_FOUND true) | ||
else() | ||
set(GSettingSchemas_FOUND false) | ||
endif() | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(GSettingSchemas | ||
FOUND_VAR | ||
GSettingSchemas_FOUND | ||
REQUIRED_VARS | ||
GSettingSchemas_FOUND | ||
) | ||
|
||
mark_as_advanced(GSettingSchemas_FOUND) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters