summaryrefslogtreecommitdiff
path: root/gtk/org.gtk.Settings.FileChooser.gschema.xml
blob: 12d718d64aaa2fb2adec1cf83ffd0baf197144ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<?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>

  <enum id='org.gtk.Settings.FileChooser.ClockFormat'>
    <value nick='24h' value='0'/>
    <value nick='12h' 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>
      <description>
	Controls whether the file chooser
	shows just a path bar, or a visible entry for the filename as well, for the
	benefit of typing-oriented users.  The possible values for these modes
	are "path-bar" and "filename-entry".
      </description>
    </key>
    <key name='show-hidden' type='b'>
      <default>false</default>
      <summary>Whether to show hidden files</summary>
      <description>
	Controls whether the file chooser shows hidden files or not.
      </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>
      <description>This key is deprecated; do not use it.</description>
    </key>
    <key name='show-size-column' type='b'>
      <default>true</default>
      <description>
	Controls whether the file chooser shows a column with file
	sizes.
      </description>
    </key>
    <key name='sort-column' enum='org.gtk.Settings.FileChooser.SortColumn'>
      <default>'name'</default>
      <description>
	Can be one of "name", "modified", or "size".  It controls
	which of the columns in the file chooser is used for sorting
	the list of files.
      </description>
    </key>
    <key name='sort-order' enum='org.gtk.Settings.FileChooser.SortOrder'>
      <default>'ascending'</default>
      <description>
	Can be one of the strings "ascending" or "descending".
      </description>
    </key>
    <key name='window-position' type='(ii)'>
      <default>(-1, -1)</default>
      <description>
	Coordinates (x, y) of the upper-left corner of the GtkFileChooserDialog's window.
      </description>
    </key>
    <key name='window-size' type='(ii)'>
      <default>(-1, -1)</default>
      <description>
	Size in pixels (width, height) of the GtkFileChooserDialog's window.
      </description>
    </key>
    <key name='startup-mode' enum='org.gtk.Settings.FileChooser.StartupMode'>
      <default>'recent'</default>
      <description>
	Either "recent" or "cwd"; controls whether the file chooser
	starts up showing the list of recently-used files, or the
	contents of the current working directory.
      </description>
    </key>
    <key name='sidebar-width' type='i'>
      <default>148</default>
      <description>
	Width in pixels of the file chooser's places sidebar.
      </description>
    </key>
    <key name="clock-format" enum="org.gtk.Settings.FileChooser.ClockFormat">
      <default>'24h'</default>
      <description>
        Whether the time is shown in 24h or 12h format.
      </description>
    </key>
  </schema>

</schemalist>