summaryrefslogtreecommitdiff
path: root/org.mate.sensors-applet.sensor.gschema.xml.in
diff options
context:
space:
mode:
authorinfirit <[email protected]>2015-09-08 14:37:51 +0200
committerinfirit <[email protected]>2015-09-08 14:39:26 +0200
commit58c1d1c25d138c0b154e074c2c5b667551ac5239 (patch)
treefb004183c25fd747e069a34b4f639218099a1406 /org.mate.sensors-applet.sensor.gschema.xml.in
parent5cab0e83ac2f44fe78ba6ef1732a3286ec3f9476 (diff)
downloadmate-sensors-applet-58c1d1c25d138c0b154e074c2c5b667551ac5239.tar.bz2
mate-sensors-applet-58c1d1c25d138c0b154e074c2c5b667551ac5239.tar.xz
Rework gsettings schema building
* Bump intltool required version for gsettings support * Extract strings with intltool directly * Let autoconf generate the xml files
Diffstat (limited to 'org.mate.sensors-applet.sensor.gschema.xml.in')
-rw-r--r--org.mate.sensors-applet.sensor.gschema.xml.in68
1 files changed, 68 insertions, 0 deletions
diff --git a/org.mate.sensors-applet.sensor.gschema.xml.in b/org.mate.sensors-applet.sensor.gschema.xml.in
new file mode 100644
index 0000000..abc1367
--- /dev/null
+++ b/org.mate.sensors-applet.sensor.gschema.xml.in
@@ -0,0 +1,68 @@
+<schemalist gettext-domain="@GETTEXT_PACKAGE@">
+ <schema id="org.mate.sensors-applet.sensor">
+ <key name="path" type="s">
+ <default>''</default>
+ <summary>Path to filename</summary>
+ </key>
+ <key name="id" type="s">
+ <default>''</default>
+ <summary>Sensor device ids</summary>
+ </key>
+ <key name="interface" type="s">
+ <default>''</default>
+ <summary>The sensor device interface</summary>
+ </key>
+ <key name="label" type="s">
+ <default>''</default>
+ <summary>User defined label</summary>
+ </key>
+ <key name="enabled" type="b">
+ <default>true</default>
+ <summary>Whether a sensor is enabled or not</summary>
+ </key>
+ <key name="low-value" type="d">
+ <default>0</default>
+ <summary>Low value</summary>
+ </key>
+ <key name="high-value" type="d">
+ <default>0</default>
+ <summary>High value</summary>
+ </key>
+ <key name="alarm-enabled" type="b">
+ <default>false</default>
+ <summary>Whether the sensor has its alarm enabled</summary>
+ </key>
+ <key name="low-alarm-command" type="s">
+ <default>''</default>
+ <summary>Command to execute when the alarm is activated</summary>
+ </key>
+ <key name="high-alarm-command" type="s">
+ <default>''</default>
+ <summary>Command to execute when the alarm is activated</summary>
+ </key>
+ <key name="alarm-timeout" type="i">
+ <default>0</default>
+ <summary>How often each alarm should be sounded (in seconds)</summary>
+ </key>
+ <key name="sensor-type" type="i">
+ <default>0</default>
+ <summary>Used to identify a sensor in a list</summary>
+ </key>
+ <key name="multiplier" type="d">
+ <default>1</default>
+ <summary>Multiplier</summary>
+ </key>
+ <key name="offset" type="d">
+ <default>0</default>
+ <summary>Offset</summary>
+ </key>
+ <key name="icon-type" type="i">
+ <default>0</default>
+ <summary>Icon type</summary>
+ </key>
+ <key name="graph-color" type="s">
+ <default>'#ff0000'</default>
+ <summary>Color of the graph for the sensor</summary>
+ </key>
+ </schema>
+</schemalist>