Use better dictionary syntax in schema file
authorP. F. Chimento <philip.chimento@gmail.com>
Wed, 9 Mar 2011 21:58:11 +0000 (22:58 +0100)
committerP. F. Chimento <philip.chimento@gmail.com>
Wed, 9 Mar 2011 21:58:11 +0000 (22:58 +0100)
Dictionaries can actually be entered using Python syntax. This is much
clearer than how it was done before.

player/org.chimara-if.gschema.xml

index 22f79ffe35bfd1279dba6bc9a9d96277615420b9..080e663bfdf662dc20030f5e95df5274db71587c 100644 (file)
@@ -29,7 +29,7 @@
     </key>
 
     <key name="preferred-interpreters" type="a{ss}">
-      <default>[{'z5', 'frotz'}, {'z6', 'nitfol'}]</default>
+      <default>{'z5': 'frotz', 'z6': 'nitfol'}</default>
       <summary>Preferred interpreters</summary>
       <description>
         Preferred interpreters for opening each format of story file.