summaryrefslogtreecommitdiff
path: root/tests/org.gnome.test.gschema.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/org.gnome.test.gschema.xml')
-rw-r--r--tests/org.gnome.test.gschema.xml9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/org.gnome.test.gschema.xml b/tests/org.gnome.test.gschema.xml
index 221b87a..eb9aab8 100644
--- a/tests/org.gnome.test.gschema.xml
+++ b/tests/org.gnome.test.gschema.xml
@@ -1,4 +1,10 @@
<schemalist>
+ <enum id="org.gnome.test.FruitType">
+ <value nick="banana" value="0"/>
+ <value nick="apple" value="1"/>
+ <value nick="pear" value="2"/>
+ </enum>
+
<schema id="org.gnome.test" path="/tests/">
<key name="test-boolean" type="b">
<default>true</default>
@@ -12,6 +18,9 @@
<key name="test-array" type="ai">
<default>[1,2]</default>
</key>
+ <key name="test-enum" enum="org.gnome.test.FruitType">
+ <default>'banana'</default>
+ </key>
</schema>
<schema id="org.gnome.nopathtest">