diff options
author | Alexander Mikhaylenko <alexm@gnome.org> | 2021-09-19 21:33:06 +0500 |
---|---|---|
committer | Alexander Mikhaylenko <alexm@gnome.org> | 2021-09-21 19:42:29 +0500 |
commit | 0e97f1f571c495184f80d875c68f241261a50e30 (patch) | |
tree | ea2d096fd991ab3cc9ed14eeb1154c75347b0d64 /schemas | |
parent | e3c2c421d78a8bfff466ad2180781cbaacce0319 (diff) | |
download | gsettings-desktop-schemas-0e97f1f571c495184f80d875c68f241261a50e30.tar.gz |
Add high-contrast boolean preferencewip/exalm/dark
Currently HighContrast is a theme. Having color-scheme is a good excuse to
rework that and have a simple flag instead.
Introduce a new schema instead of cluttering org.gnome.desktop.interface
even more.
Diffstat (limited to 'schemas')
-rw-r--r-- | schemas/meson.build | 1 | ||||
-rw-r--r-- | schemas/org.gnome.desktop.a11y.interface.gschema.xml.in | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/schemas/meson.build b/schemas/meson.build index 69a3f98..6506592 100644 --- a/schemas/meson.build +++ b/schemas/meson.build @@ -10,6 +10,7 @@ schemas = [ 'org.gnome.desktop.a11y.gschema.xml', 'org.gnome.desktop.a11y.keyboard.gschema.xml', 'org.gnome.desktop.a11y.applications.gschema.xml', + 'org.gnome.desktop.a11y.interface.gschema.xml', 'org.gnome.desktop.a11y.magnifier.gschema.xml', 'org.gnome.desktop.a11y.mouse.gschema.xml', 'org.gnome.desktop.thumbnailers.gschema.xml', diff --git a/schemas/org.gnome.desktop.a11y.interface.gschema.xml.in b/schemas/org.gnome.desktop.a11y.interface.gschema.xml.in new file mode 100644 index 0000000..49591ec --- /dev/null +++ b/schemas/org.gnome.desktop.a11y.interface.gschema.xml.in @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<schemalist gettext-domain="gsettings-desktop-schemas"> + <schema id="org.gnome.desktop.a11y.interface" path="/org/gnome/desktop/a11y/interface/"> + <key name="high-contrast" type="b"> + <default>false</default> + <summary>High contrast</summary> + <description> + Whether to use the high contrast style. + </description> + </key> + </schema> +</schemalist> |