summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2019-08-11 18:32:45 +0300
committerraveit65 <[email protected]>2019-08-11 19:35:04 +0200
commit1a920c723d2a4c446dc9c4c628cb3904f942a116 (patch)
tree980d8da669d6771e1d6130b27fab5ba7085e5bf8
parent96e46794a82bf4b2a3edce4502f09f1c4ec85678 (diff)
downloadmate-settings-daemon-1a920c723d2a4c446dc9c4c628cb3904f942a116.tar.bz2
mate-settings-daemon-1a920c723d2a4c446dc9c4c628cb3904f942a116.tar.xz
Add remaining peripheral schemas from mate-desktop
-rw-r--r--configure.ac1
-rw-r--r--data/Makefile.am1
-rw-r--r--data/org.mate.peripherals-keyboard.gschema.xml.in49
-rw-r--r--po/POTFILES.in1
4 files changed, 52 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ea73740..bd599bb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -477,6 +477,7 @@ data/mate-settings-daemon.pc
data/mate-settings-daemon-uninstalled.pc
data/org.mate.applications-at.gschema.xml
data/org.mate.font-rendering.gschema.xml
+data/org.mate.peripherals-keyboard.gschema.xml
data/org.mate.peripherals-mouse.gschema.xml
data/org.mate.peripherals-smartcard.gschema.xml
data/org.mate.peripherals-touchpad.gschema.xml
diff --git a/data/Makefile.am b/data/Makefile.am
index 33764fd..3fad838 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -3,6 +3,7 @@ NULL =
msd_gschemas_in = \
org.mate.applications-at.gschema.xml.in \
org.mate.font-rendering.gschema.xml.in \
+ org.mate.peripherals-keyboard.gschema.xml.in \
org.mate.peripherals-mouse.gschema.xml.in \
org.mate.peripherals-smartcard.gschema.xml.in \
org.mate.peripherals-touchpad.gschema.xml.in \
diff --git a/data/org.mate.peripherals-keyboard.gschema.xml.in b/data/org.mate.peripherals-keyboard.gschema.xml.in
new file mode 100644
index 0000000..f519987
--- /dev/null
+++ b/data/org.mate.peripherals-keyboard.gschema.xml.in
@@ -0,0 +1,49 @@
+<schemalist gettext-domain="mate-desktop">
+ <enum id="org.mate.peripherals-keyboard.NumLockState">
+ <value nick="off" value="0"/>
+ <value nick="on" value="1"/>
+ <value nick="unknown" value="2"/>
+ </enum>
+ <schema id="org.mate.peripherals-keyboard" path="/org/mate/desktop/peripherals/keyboard/">
+ <key name="repeat" type="b">
+ <default>true</default>
+ </key>
+ <key name="click" type="b">
+ <default>true</default>
+ </key>
+ <key name="rate" type="i">
+ <default>30</default>
+ </key>
+ <key name="delay" type="i">
+ <default>500</default>
+ </key>
+ <key name="click-volume" type="i">
+ <default>0</default>
+ </key>
+ <key name="bell-mode" type="s">
+ <default>'on'</default>
+ <description>possible values are "on", "off", and "custom".</description>
+ </key>
+ <key name="bell-pitch" type="i">
+ <default>400</default>
+ </key>
+ <key name="bell-duration" type="i">
+ <default>100</default>
+ </key>
+ <key name="bell-custom-file" type="s">
+ <default>''</default>
+ <summary>Keyboard Bell Custom Filename</summary>
+ <description>File name of the bell sound to be played.</description>
+ </key>
+ <key name="remember-numlock-state" type="b">
+ <default>true</default>
+ <summary>Remember NumLock state</summary>
+ <description>When set to true, MATE will remember the state of the NumLock LED between sessions.</description>
+ </key>
+ <key name="numlock-state" enum="org.mate.peripherals-keyboard.NumLockState">
+ <default>'unknown'</default>
+ <summary>NumLock state</summary>
+ <description>The remembered state of the NumLock LED.</description>
+ </key>
+ </schema>
+</schemalist>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index ede4919..9cbdac2 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -3,6 +3,7 @@
data/50-accessibility.xml.in
[type: gettext/gsettings]data/org.mate.applications-at.gschema.xml.in
[type: gettext/gsettings]data/org.mate.font-rendering.gschema.xml.in
+[type: gettext/gsettings]data/org.mate.peripherals-keyboard.gschema.xml.in
[type: gettext/gsettings]data/org.mate.peripherals-mouse.gschema.xml.in
[type: gettext/gsettings]data/org.mate.peripherals-smartcard.gschema.xml.in
[type: gettext/gsettings]data/org.mate.peripherals-touchpad.gschema.xml.in