| 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <!-- |
| 3 | Copyright © 2010 Christian Persch |
| 4 | |
| 5 | This library is free software; you can redistribute it and/or modify |
| 6 | it under the terms of the GNU Lesser General Public License as published by |
| 7 | the Free Software Foundation; either version 2.1, or (at your option) |
| 8 | any later version. |
| 9 | |
| 10 | This library is distributed in the hope that it will be useful, |
| 11 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 13 | GNU Lesser General Public License for more details. |
| 14 | |
| 15 | You should have received a copy of the GNU Lesser General Public License |
| 16 | along with this library. If not, see <http://www.gnu.org/licenses/>. |
| 17 | --> |
| 18 | <schemalist> |
| 19 | |
| 20 | <enum id='org.gtk.gtk4.Settings.FileChooser.LocationMode'> |
| 21 | <value nick='path-bar' value='0'/> |
| 22 | <value nick='filename-entry' value='1'/> |
| 23 | </enum> |
| 24 | |
| 25 | <enum id='org.gtk.gtk4.Settings.FileChooser.SortColumn'> |
| 26 | <value nick='name' value='0'/> |
| 27 | <value nick='size' value='1'/> |
| 28 | <value nick='type' value='2'/> |
| 29 | <value nick='modified' value='3'/> |
| 30 | </enum> |
| 31 | |
| 32 | <enum id='org.gtk.gtk4.Settings.FileChooser.SortOrder'> |
| 33 | <value nick='ascending' value='0'/> |
| 34 | <value nick='descending' value='1'/> |
| 35 | </enum> |
| 36 | |
| 37 | <enum id='org.gtk.gtk4.Settings.FileChooser.StartupMode'> |
| 38 | <value nick='recent' value='0'/> |
| 39 | <value nick='cwd' value='1'/> |
| 40 | </enum> |
| 41 | |
| 42 | <enum id='org.gtk.gtk4.Settings.FileChooser.ClockFormat'> |
| 43 | <value nick='24h' value='0'/> |
| 44 | <value nick='12h' value='1'/> |
| 45 | </enum> |
| 46 | |
| 47 | <enum id='org.gtk.gtk4.Settings.FileChooser.DateFormat'> |
| 48 | <value nick='regular' value='0'/> |
| 49 | <value nick='with-time' value='1'/> |
| 50 | </enum> |
| 51 | |
| 52 | <enum id='org.gtk.gtk4.Settings.FileChooser.TypeFormat'> |
| 53 | <value nick='mime' value='0'/> |
| 54 | <value nick='description' value='1'/> |
| 55 | <value nick='category' value='2'/> |
| 56 | </enum> |
| 57 | |
| 58 | <enum id='org.gtk.gtk4.Settings.FileChooser.ViewType'> |
| 59 | <value nick='list' value='0'/> |
| 60 | <value nick='grid' value='1'/> |
| 61 | </enum> |
| 62 | |
| 63 | <schema id='org.gtk.gtk4.Settings.FileChooser' path='/org/gtk/gtk4/settings/file-chooser/'> |
| 64 | <key name='location-mode' enum='org.gtk.gtk4.Settings.FileChooser.LocationMode'> |
| 65 | <default>'path-bar'</default> |
| 66 | <summary>Location mode</summary> |
| 67 | <description> |
| 68 | Controls whether the file chooser shows just a path bar, or a visible entry |
| 69 | for the filename as well, for the benefit of typing-oriented users. The |
| 70 | possible values for these modes are "path-bar" and "filename-entry". |
| 71 | </description> |
| 72 | </key> |
| 73 | <key name='show-hidden' type='b'> |
| 74 | <default>false</default> |
| 75 | <summary>Show hidden files</summary> |
| 76 | <description> |
| 77 | Controls whether the file chooser shows hidden files or not. |
| 78 | </description> |
| 79 | </key> |
| 80 | <key type="b" name="sort-directories-first"> |
| 81 | <default>true</default> |
| 82 | <summary>Show folders first</summary> |
| 83 | <description> |
| 84 | If set to true, then folders are shown before files in the list. |
| 85 | </description> |
| 86 | </key> |
| 87 | <key name='expand-folders' type='b'> |
| 88 | <default>false</default> |
| 89 | <summary>Expand folders</summary> |
| 90 | <description>This key is deprecated; do not use it.</description> |
| 91 | </key> |
| 92 | <key name='show-size-column' type='b'> |
| 93 | <default>true</default> |
| 94 | <summary>Show file sizes</summary> |
| 95 | <description> |
| 96 | Controls whether the file chooser shows a column with file sizes. |
| 97 | </description> |
| 98 | </key> |
| 99 | <key name='show-type-column' type='b'> |
| 100 | <default>true</default> |
| 101 | <summary>Show file types</summary> |
| 102 | <description> |
| 103 | Controls whether the file chooser shows a column with file types. |
| 104 | </description> |
| 105 | </key> |
| 106 | <key name='sort-column' enum='org.gtk.gtk4.Settings.FileChooser.SortColumn'> |
| 107 | <default>'name'</default> |
| 108 | <summary>Sort column</summary> |
| 109 | <description> |
| 110 | Can be one of "name", "modified", or "size". It controls |
| 111 | which of the columns in the file chooser is used for sorting |
| 112 | the list of files. |
| 113 | </description> |
| 114 | </key> |
| 115 | <key name='sort-order' enum='org.gtk.gtk4.Settings.FileChooser.SortOrder'> |
| 116 | <default>'ascending'</default> |
| 117 | <summary>Sort order</summary> |
| 118 | <description> |
| 119 | Can be one of the strings "ascending" or "descending". |
| 120 | </description> |
| 121 | </key> |
| 122 | <key name='window-position' type='(ii)'> |
| 123 | <default>(-1, -1)</default> |
| 124 | <summary>Window position</summary> |
| 125 | <description> |
| 126 | This key is ignored. |
| 127 | </description> |
| 128 | </key> |
| 129 | <key name='window-size' type='(ii)'> |
| 130 | <default>(-1, -1)</default> |
| 131 | <summary>Window size</summary> |
| 132 | <description> |
| 133 | The size (width, height) of the GtkFileChooserDialog's window, in pixels. |
| 134 | </description> |
| 135 | </key> |
| 136 | <key name='startup-mode' enum='org.gtk.gtk4.Settings.FileChooser.StartupMode'> |
| 137 | <default>'recent'</default> |
| 138 | <summary>Startup mode</summary> |
| 139 | <description> |
| 140 | Either "recent" or "cwd"; controls whether the file chooser |
| 141 | starts up showing the list of recently-used files, or the |
| 142 | contents of the current working directory. |
| 143 | </description> |
| 144 | </key> |
| 145 | <key name='sidebar-width' type='i'> |
| 146 | <default>-1</default> |
| 147 | <summary>Sidebar width</summary> |
| 148 | <description> |
| 149 | Width in pixels of the file chooser's places sidebar. |
| 150 | </description> |
| 151 | </key> |
| 152 | <key name="clock-format" enum="org.gtk.gtk4.Settings.FileChooser.ClockFormat"> |
| 153 | <default>'24h'</default> |
| 154 | <summary>Time format</summary> |
| 155 | <description> |
| 156 | Whether the time is shown in 24h or 12h format. |
| 157 | </description> |
| 158 | </key> |
| 159 | <key name="date-format" enum="org.gtk.gtk4.Settings.FileChooser.DateFormat"> |
| 160 | <default>'regular'</default> |
| 161 | <summary>Date format</summary> |
| 162 | <description> |
| 163 | The amount of detail to show in the Modified column. |
| 164 | </description> |
| 165 | </key> |
| 166 | <key name="type-format" enum="org.gtk.gtk4.Settings.FileChooser.TypeFormat"> |
| 167 | <default>'category'</default> |
| 168 | <summary>Type format</summary> |
| 169 | <description> |
| 170 | Different ways to show the 'Type' column information. |
| 171 | Example outputs for a video mp4 file: |
| 172 | 'mime' -> 'video/mp4' |
| 173 | 'description' -> 'MPEG-4 video' |
| 174 | 'category' -> 'Video' |
| 175 | </description> |
| 176 | </key> |
| 177 | <key name="view-type" enum="org.gtk.gtk4.Settings.FileChooser.ViewType"> |
| 178 | <default>'list'</default> |
| 179 | <summary>View type</summary> |
| 180 | <description> |
| 181 | Whether the files are shown in a list or in a grid. |
| 182 | </description> |
| 183 | </key> |
| 184 | </schema> |
| 185 | |
| 186 | </schemalist> |