Connect settings for auto refresh and cleanup.

This commit is contained in:
Rowan Lewis
2018-03-16 23:23:06 +01:00
parent a253d7ebf5
commit a7540583d6
5 changed files with 103 additions and 41 deletions
@@ -33,16 +33,12 @@
<summary>Whether to refresh content after startup</summary>
</key>
<key name="auto-cleanup" type="b">
<default>true</default>
<summary>Whether to periodically cleanup content</summary>
</key>
<key name="auto-cleanup-time" type="i">
<key name="cleanup-age-time" type="i">
<range min="1" max="100"/>
<default>2</default>
<summary>How many periods of time to wait between automatic cleanups</summary>
</key>
<key name="auto-cleanup-period" enum="org.gnome.Hammond.timePeriods">
<key name="cleanup-age-period" enum="org.gnome.Hammond.timePeriods">
<default>'days'</default>
<summary>What period of time to wait between automatic cleanups</summary>
</key>