[gnome-settings-daemon] data: Add schema for tablet button configuration
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] data: Add schema for tablet button configuration
- Date: Wed, 8 Feb 2012 17:00:09 +0000 (UTC)
commit 28e0e58a9e88fa3fe553ed981e8dca1f1053c0cb
Author: Bastien Nocera <hadess hadess net>
Date: Wed Feb 8 16:58:05 2012 +0000
data: Add schema for tablet button configuration
data/gsd-enums.h | 6 ++++++
...ings-daemon.peripherals.wacom.gschema.xml.in.in | 12 ++++++++++++
2 files changed, 18 insertions(+), 0 deletions(-)
---
diff --git a/data/gsd-enums.h b/data/gsd-enums.h
index 1cc2998..c9e1a1b 100644
--- a/data/gsd-enums.h
+++ b/data/gsd-enums.h
@@ -92,6 +92,12 @@ typedef enum
typedef enum
{
+ GSD_WACOM_ACTION_TYPE_NONE,
+ GSD_WACOM_ACTION_TYPE_CUSTOM
+} GsdWacomActionType;
+
+typedef enum
+{
GSD_POWER_ACTION_BLANK,
GSD_POWER_ACTION_SUSPEND,
GSD_POWER_ACTION_SHUTDOWN,
diff --git a/data/org.gnome.settings-daemon.peripherals.wacom.gschema.xml.in.in b/data/org.gnome.settings-daemon.peripherals.wacom.gschema.xml.in.in
index f77c2d3..20b549e 100644
--- a/data/org.gnome.settings-daemon.peripherals.wacom.gschema.xml.in.in
+++ b/data/org.gnome.settings-daemon.peripherals.wacom.gschema.xml.in.in
@@ -87,4 +87,16 @@
<_description>Set this to the pressure value at which an eraser click event is generated.</_description>
</key>
</schema>
+ <schema gettext-domain="@GETTEXT_PACKAGE@" id="org.gnome.settings-daemon.peripherals.wacom.tablet-button">
+ <key name="action-type" enum="org.gnome.settings-daemon.GsdWacomActionType">
+ <default>'none'</default>
+ <_summary>Wacom button action type</_summary>
+ <_description>The type of action triggered by the button being pressed.</_description>
+ </key>
+ <key name="custom-action" type="s">
+ <default>''</default>
+ <_summary>Key combination for the custom action</_summary>
+ <_description>The keyboard shortcut generated when the button is pressed for custom actions.</_description>
+ </key>
+ </schema>
</schemalist>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]