summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-11-02 15:04:36 +0100
committerinfirit <[email protected]>2014-11-02 17:43:10 +0100
commitb8e3a26d0975cb43cb5a315bceaf581f6ea2a5a8 (patch)
treeec0df37035271d681b220c966bcafc8d5943ba90 /data
parentaf56e3974762769171f51378fde8cb63da5db1fd (diff)
downloadmate-settings-daemon-b8e3a26d0975cb43cb5a315bceaf581f6ea2a5a8.tar.bz2
mate-settings-daemon-b8e3a26d0975cb43cb5a315bceaf581f6ea2a5a8.tar.xz
a11y-keybindings: Move to media-keys plugin
Diffstat (limited to 'data')
-rw-r--r--data/50-accessibility.xml.in8
-rw-r--r--data/Makefile.am5
-rw-r--r--data/org.mate.SettingsDaemon.plugins.media-keys.gschema.xml.in.in15
-rw-r--r--data/org.mate.keybindings.gschema.xml.in.in58
4 files changed, 21 insertions, 65 deletions
diff --git a/data/50-accessibility.xml.in b/data/50-accessibility.xml.in
index 998ba17..89a9e6b 100644
--- a/data/50-accessibility.xml.in
+++ b/data/50-accessibility.xml.in
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
-<KeyListEntries _name="Accessibility">
+<KeyListEntries group="system" _name="Accessibility" schema="org.mate.SettingsDaemon.plugins.media-keys">
- <KeyListEntry name="/desktop/mate/keybindings/magnifier/binding"/>
- <KeyListEntry name="/desktop/mate/keybindings/screenreader/binding"/>
- <KeyListEntry name="/desktop/mate/keybindings/onscreenkeyboard/binding"/>
+ <KeyListEntry name="magnifier" _description="Toggle magnifier"/>
+ <KeyListEntry name="screenreader" _description="Toggle screen reader"/>
+ <KeyListEntry name="on-screen-keyboard" _description="Toggle on-screen keyboard"/>
</KeyListEntries>
diff --git a/data/Makefile.am b/data/Makefile.am
index 00bb02d..008061a 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -3,7 +3,6 @@ NULL =
msd_gschemas_in_in = \
org.mate.applications-at.gschema.xml.in.in \
org.mate.font-rendering.gschema.xml.in.in \
- org.mate.keybindings.gschema.xml.in.in \
org.mate.peripherals-smartcard.gschema.xml.in.in \
org.mate.peripherals-touchpad.gschema.xml.in.in \
org.mate.SettingsDaemon.plugins.a11y-keyboard.gschema.xml.in.in \
@@ -57,9 +56,9 @@ man_MANS = mate-settings-daemon.1
@INTLTOOL_XML_NOMERGE_RULE@
#disabled until we support it
-#xmldir = @MATE_KEYBINDINGS_KEYSDIR@
+xmldir = @MATE_KEYBINDINGS_KEYSDIR@
xml_in_files = 50-accessibility.xml.in
-#xml_DATA = $(xml_in_files:.xml.in=.xml)
+xml_DATA = $(xml_in_files:.xml.in=.xml)
EXTRA_DIST = \
$(msd_gschemas_in_in) \
diff --git a/data/org.mate.SettingsDaemon.plugins.media-keys.gschema.xml.in.in b/data/org.mate.SettingsDaemon.plugins.media-keys.gschema.xml.in.in
index f855cfd..3e0ee2c 100644
--- a/data/org.mate.SettingsDaemon.plugins.media-keys.gschema.xml.in.in
+++ b/data/org.mate.SettingsDaemon.plugins.media-keys.gschema.xml.in.in
@@ -110,5 +110,20 @@
<_summary>Next track</_summary>
<_description>Binding to skip to next track.</_description>
</key>
+ <key name="magnifier" type="s">
+ <default>''</default>
+ <_summary>Toggle magnifier</_summary>
+ <_description>Binding to show the screen magnifier</_description>
+ </key>
+ <key name="screenreader" type="s">
+ <default>''</default>
+ <_summary>Toggle screen reader</_summary>
+ <_description>Binding to start the screen reader</_description>
+ </key>
+ <key name="on-screen-keyboard" type="s">
+ <default>''</default>
+ <_summary>Toggle on-screen keyboard</_summary>
+ <_description>Binding to show the on-screen keyboard</_description>
+ </key>
</schema>
</schemalist>
diff --git a/data/org.mate.keybindings.gschema.xml.in.in b/data/org.mate.keybindings.gschema.xml.in.in
deleted file mode 100644
index 9e3aca6..0000000
--- a/data/org.mate.keybindings.gschema.xml.in.in
+++ /dev/null
@@ -1,58 +0,0 @@
-<schemalist gettext-domain="@GETTEXT_PACKAGE@">
- <schema id="org.mate.keybindings" path="/org/mate/desktop/keybindings/">
- <child name="magnifier" schema="org.mate.keybindings.magnifier"/>
- <child name="screenreader" schema="org.mate.keybindings.screenreader"/>
- <child name="onscreenkeyboard" schema="org.mate.keybindings.onscreenkeyboard"/>
- </schema>
- <schema id="org.mate.keybindings.magnifier" path="/org/mate/desktop/keybindings/magnifier/">
- <key name="binding" type="s">
- <default>''</default>
- <_summary>Toggle magnifier</_summary>
- <_description>Binding to toggle the magnifier.</_description>
- </key>
- <key name="name" type="s">
- <default context="name" l10n="messages">'Toggle magnifier'</default>
- <_summary>The name of the keyboard shortcut to toggle the magnifier</_summary>
- <_description>This is the name of the keyboard shortcut to toggle the magnifier. This name will be shown in the keyboard shortcut preferences dialog.</_description>
- </key>
- <key name="action" type="s">
- <default>'mate-gsettings-toggle screen-keyboard-enabled'</default>
- <_summary>Toggle magnifier</_summary>
- <_description>Command used to turn the magnifier on or off.</_description>
- </key>
- </schema>
- <schema id="org.mate.keybindings.screenreader" path="/org/mate/desktop/keybindings/screenreader/">
- <key name="binding" type="s">
- <default>''</default>
- <_summary>Toggle screen reader</_summary>
- <_description>Binding to toggle the screen reader.</_description>
- </key>
- <key name="name" type="s">
- <default context="name" l10n="messages">'Toggle screen reader'</default>
- <_summary>The name of the keyboard shortcut to toggle the screen reader</_summary>
- <_description>This is the name of the keyboard shortcut to toggle the screen reader. This name will be shown in the keyboard shortcut preferences dialog.</_description>
- </key>
- <key name="action" type="s">
- <default>'mate-gsettings-toggle screen-reader-enabled'</default>
- <_summary>Toggle screen reader</_summary>
- <_description>Command used to turn the screen reader on or off.</_description>
- </key>
- </schema>
- <schema id="org.mate.keybindings.onscreenkeyboard" path="/org/mate/desktop/keybindings/onscreenkeyboard/">
- <key name="name" type="s">
- <default context="name" l10n="messages">'Toggle on-screen keyboard'</default>
- <_summary>The name of the keyboard shortcut to toggle the on-screen keyboard</_summary>
- <_description>This is the name of the keyboard shortcut to toggle the on-screen keyboard. This name will be shown in the keyboard shortcut preferences dialog.</_description>
- </key>
- <key name="binding" type="s">
- <default>''</default>
- <_summary>Toggle on-screen keyboard</_summary>
- <_description>Binding to toggle the on-screen keyboard.</_description>
- </key>
- <key name="action" type="s">
- <default>'mate-gsettings-toggle screen-keyboard-enabled'</default>
- <_summary>Toggle on-screen keyboard</_summary>
- <_description>Command used to turn the on-screen keyboard on or off.</_description>
- </key>
- </schema>
-</schemalist>