Added new preferences and settings
[projects/chimara/chimara.git] / player / org.chimara-if.gschema.xml
1 <schemalist>
2   <!-- Keys and key names are subject to change without notice, until we have
3   a spec-->
4   <!-- "b" = boolean; see documentation of GVariantType -->
5
6   <schema id="org.chimara-if.player" path="/org/chimara-if/player/">
7     <child name="preferences" schema="org.chimara-if.player.preferences"/>
8     <child name="state" schema="org.chimara-if.player.state"/>
9   </schema>
10
11   <schema id="org.chimara-if.player.preferences" path="/org/chimara-if/player/preferences/">
12
13     <key name="flep" type="b"> 
14       <default>false</default>
15       <summary>Flepping</summary>
16       <description>
17         Whether to flep or not while gronking a bloop.
18       </description>
19     </key>
20
21     <key name="resource-path" type="ms">
22       <default>nothing</default>
23       <summary>Resource path</summary>
24       <description>
25         Where to look for Blorb resource files containing graphics and sound;
26         normally, these are part of the story file itself, but they are provided
27         as separate files in some older games.
28       </description>
29     </key>
30
31     <key name="preferred-interpreters" type="a{ss}">
32       <default>[{'z5', 'frotz'}, {'z6', 'nitfol'}]</default>
33       <summary>Preferred interpreters</summary>
34       <description>
35         Preferred interpreters for opening each format of story file.
36       </description>
37     </key>
38
39   </schema>
40
41   <schema id="org.chimara-if.player.state" path="/org/chimara-if/player/state/">
42
43     <key name="last-open-path" type="ms">
44       <default>nothing</default>
45       <summary>Last open path</summary>
46       <description>
47         The path in which a game was last opened. The next Open dialog will
48         start in this path.
49       </description>
50     </key>
51
52     <key name="show-toolbar-default" type="b">
53       <default>true</default>
54       <summary>Show toolbar by default</summary>
55       <description>
56         Whether to show or hide the toolbar by default in new game windows.
57       </description>
58     </key>
59
60   </schema>
61 </schemalist>