Add default house system to settings schema
It is taken from an enum list, which is hand made. There must be a way to generate it programatically at compile time…
This commit is contained in:
parent
bd277de1bc
commit
de4e2f54ef
@ -1,4 +1,10 @@
|
|||||||
<schemalist gettext-domain="astrognome">
|
<schemalist gettext-domain="astrognome">
|
||||||
|
<enum id="eu.polonkai.gergely.Astrognome.GsweHouseSystem">
|
||||||
|
<value nick="none" value="0"/>
|
||||||
|
<value nick="placidus" value="1"/>
|
||||||
|
<value nick="koch" value="2"/>
|
||||||
|
<value nick="equal" value="3"/>
|
||||||
|
</enum>
|
||||||
<schema id="eu.polonkai.gergely.Astrognome" path="/eu/polonkai/gergely/Astrognome/">
|
<schema id="eu.polonkai.gergely.Astrognome" path="/eu/polonkai/gergely/Astrognome/">
|
||||||
<child name="state" schema="eu.polonkai.gergely.Astrognome.state" />
|
<child name="state" schema="eu.polonkai.gergely.Astrognome.state" />
|
||||||
<key name="planets-char" type="b">
|
<key name="planets-char" type="b">
|
||||||
@ -11,6 +17,11 @@
|
|||||||
<summary>Display aspect symbols as UTF-8 characters</summary>
|
<summary>Display aspect symbols as UTF-8 characters</summary>
|
||||||
<description>Whether to show aspect symbols as their UTF-8 representation. Uses less memory, but not all system fonts have them defined. If an aspect don’t have a character representation, an image fallback will be used.</description>
|
<description>Whether to show aspect symbols as their UTF-8 representation. Uses less memory, but not all system fonts have them defined. If an aspect don’t have a character representation, an image fallback will be used.</description>
|
||||||
</key>
|
</key>
|
||||||
|
<key name="default-house-system" enum="eu.polonkai.gergely.Astrognome.GsweHouseSystem">
|
||||||
|
<default>'placidus'</default>
|
||||||
|
<summary>The default house system</summary>
|
||||||
|
<description>The house system to use by default in new charts</description>
|
||||||
|
</key>
|
||||||
</schema>
|
</schema>
|
||||||
<schema id="eu.polonkai.gergely.Astrognome.state" path="/eu/polonkai/gergely/Astrognome/state/">
|
<schema id="eu.polonkai.gergely.Astrognome.state" path="/eu/polonkai/gergely/Astrognome/state/">
|
||||||
<child name="window" schema="eu.polonkai.gergely.Astrognome.state.window" />
|
<child name="window" schema="eu.polonkai.gergely.Astrognome.state.window" />
|
||||||
|
Loading…
Reference in New Issue
Block a user