glib2/README.Gsettings-overrides
Bjørn Lie be628c5125 - Update to version 2.82.5:
+ Bugs fixed:
    - gosxappinfo: Correctly launch list of files
    - Don't mark test setups as default in subprojects
    - gdatetime: Fix integer overflow when parsing very long
      ISO8601 inputs

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/glib2?expand=0&rev=565
2025-02-20 19:21:23 +00:00

20 lines
781 B
Plaintext

Quoting the "Vendor overrides" section from [1]:
Default values are defined in the schemas that get installed by an application.
Sometimes, it is necessary for a vendor or distributor to adjust these
defaults. Since patching the XML source for the schema is inconvenient and
error-prone, glib-compile-schemas reads so-called 'vendor override' files.
These are keyfiles in the same directory as the XML schema sources which can
override default values. The schema id serves as the group name in the key
file, and the values are expected in serialized GVariant form, as in the
following example:
[org.gtk.Example]
key1='string'
key2=1.5
glib-compile-schemas expects schema files to have the extension
.gschema.override
[1] http://developer.gnome.org/gio/stable/GSettings.html