gtk2/gtk/org.gtk.Settings.FileChooser.gschema.xml
William Jon McCann a34702a61f file-chooser: add a sort-directories-first gsetting
Add an option to sort folders before files in order to be
more constistent with the file manager.
2013-12-03 12:12:54 -05:00

85 lines
3.0 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright © 2010 Christian Persch
This library is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1, or (at your option)
any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with this library. If not, see <http://www.gnu.org/licenses/>.
-->
<schemalist>
<enum id='org.gtk.Settings.FileChooser.LocationMode'>
<value nick='path-bar' value='0'/>
<value nick='filename-entry' value='1'/>
</enum>
<enum id='org.gtk.Settings.FileChooser.SortColumn'>
<value nick='name' value='0'/>
<value nick='size' value='1'/>
<value nick='modified' value='2'/>
</enum>
<enum id='org.gtk.Settings.FileChooser.SortOrder'>
<value nick='ascending' value='0'/>
<value nick='descending' value='1'/>
</enum>
<enum id='org.gtk.Settings.FileChooser.StartupMode'>
<value nick='recent' value='0'/>
<value nick='cwd' value='1'/>
</enum>
<schema id='org.gtk.Settings.FileChooser' path='/org/gtk/settings/file-chooser/'>
<key name='last-folder-uri' type='s'>
<default>""</default>
</key>
<key name='location-mode' enum='org.gtk.Settings.FileChooser.LocationMode'>
<default>'path-bar'</default>
</key>
<key name='show-hidden' type='b'>
<default>false</default>
<summary>Whether to show hidden files</summary>
<description>If set to true, then hidden files are shown by default. Hidden files are either dotfiles, listed in the folder's .hidden file or backup files ending with a tilde (~).</description>
</key>
<key type="b" name="sort-directories-first">
<default>false</default>
<summary>Whether to show folders first</summary>
<description>If set to true, then folders are shown prior to showing files in the icon and list views.</description>
</key>
<key name='expand-folders' type='b'>
<default>false</default>
</key>
<key name='show-size-column' type='b'>
<default>true</default>
</key>
<key name='sort-column' enum='org.gtk.Settings.FileChooser.SortColumn'>
<default>'name'</default>
</key>
<key name='sort-order' enum='org.gtk.Settings.FileChooser.SortOrder'>
<default>'ascending'</default>
</key>
<key name='window-position' type='(ii)'>
<default>(-1, -1)</default>
</key>
<key name='window-size' type='(ii)'>
<default>(-1, -1)</default>
</key>
<key name='startup-mode' enum='org.gtk.Settings.FileChooser.StartupMode'>
<default>'recent'</default>
</key>
<key name='sidebar-width' type='i'>
<default>148</default>
</key>
</schema>
</schemalist>