[feat] download dir can be set by the user and use gsettings for storing the download directory [fix] use inside flatpak the ~/Downloads directory to save files

This commit is contained in:
Julian Sparber
2017-10-07 15:15:56 +02:00
parent c25d688b81
commit 579ed0c826
6 changed files with 46 additions and 34 deletions

View File

@@ -1,25 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<schemalist>
<schema path="/com/frac_tion/teleport/" id="com.frac_tion.teleport">
<key name="font" type="s">
<default>'Monospace 12'</default>
<summary>Font</summary>
<description>The font to be used for content.</description>
<key name="download-dir" type="s">
<default>'~/Downloads'</default>
<summary>Download directory</summary>
<description>The directory to save all incoming files.</description>
</key>
<key name="transition" type="s">
<choices>
<choice value='none'/>
<choice value='crossfade'/>
<choice value='slide-left-right'/>
</choices>
<default>'none'</default>
<summary>Transition</summary>
<description>The transition to use when switching tabs.</description>
</key>
<key name="show-words" type="b">
<default>false</default>
<summary>Show words</summary>
<description>Whether to show a word list in the sidebar</description>
<key name="device-name" type="s">
<default>'unknown'</default>
<summary>Device name</summary>
<description>The device name shown to other devices.</description>
</key>
</schema>
</schemalist>