org.gtk.Settings.FileChooser.gschema.xml 5.23 KB
Newer Older
1 2 3 4
<?xml version="1.0" encoding="UTF-8"?>
<!--
  Copyright © 2010 Christian Persch

Javier Jardón's avatar
Javier Jardón committed
5
  This library is free software; you can redistribute it and/or modify
6 7 8 9
  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.

Javier Jardón's avatar
Javier Jardón committed
10
  This library is distributed in the hope that it will be useful,
11 12
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
Javier Jardón's avatar
Javier Jardón committed
13
  GNU Lesser General Public License for more details.
14 15

  You should have received a copy of the GNU Lesser General Public License
Javier Jardón's avatar
Javier Jardón committed
16
  along with this library. If not, see <http://www.gnu.org/licenses/>.
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
-->
<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>

36 37 38 39 40
  <enum id='org.gtk.Settings.FileChooser.StartupMode'>
    <value nick='recent' value='0'/>
    <value nick='cwd' value='1'/>
  </enum>

41 42 43 44 45
  <enum id='org.gtk.Settings.FileChooser.ClockFormat'>
    <value nick='24h' value='0'/>
    <value nick='12h' value='1'/>
  </enum>

46 47 48 49 50
  <enum id='org.gtk.Settings.FileChooser.DateFormat'>
    <value nick='regular' value='0'/>
    <value nick='with-time' value='1'/>
  </enum>

51
  <schema id='org.gtk.Settings.FileChooser' path='/org/gtk/settings/file-chooser/'>
52 53 54
    <key name='last-folder-uri' type='s'>
      <default>""</default>
    </key>
55 56
    <key name='location-mode' enum='org.gtk.Settings.FileChooser.LocationMode'>
      <default>'path-bar'</default>
57
      <summary>Location mode</summary>
58
      <description>
59 60 61
	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".
62
      </description>
63 64 65
    </key>
    <key name='show-hidden' type='b'>
      <default>false</default>
66
      <summary>Show hidden files</summary>
67 68 69
      <description>
	Controls whether the file chooser shows hidden files or not.
      </description>
70
    </key>
71 72
    <key type="b" name="sort-directories-first">
      <default>false</default>
73 74 75 76
      <summary>Show folders first</summary>
      <description>
        If set to true, then folders are shown before files in the list.
      </description>
77
    </key>
78 79
    <key name='expand-folders' type='b'>
      <default>false</default>
80
      <summary>Expand folders</summary>
81
      <description>This key is deprecated; do not use it.</description>
82
    </key>
83 84
    <key name='show-size-column' type='b'>
      <default>true</default>
85
      <summary>Show file sizes</summary>
86
      <description>
87
	Controls whether the file chooser shows a column with file sizes.
88
      </description>
89 90 91
    </key>
    <key name='sort-column' enum='org.gtk.Settings.FileChooser.SortColumn'>
      <default>'name'</default>
92
      <summary>Sort column</summary>
93 94 95 96 97
      <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>
98 99 100
    </key>
    <key name='sort-order' enum='org.gtk.Settings.FileChooser.SortOrder'>
      <default>'ascending'</default>
101
      <summary>Sort order</summary>
102 103 104
      <description>
	Can be one of the strings "ascending" or "descending".
      </description>
105 106 107
    </key>
    <key name='window-position' type='(ii)'>
      <default>(-1, -1)</default>
108
      <summary>Window position</summary>
109
      <description>
110 111
	The (x, y) coordinates of the upper-left corner of the GtkFileChooserDialog's
        window.
112
      </description>
113 114 115
    </key>
    <key name='window-size' type='(ii)'>
      <default>(-1, -1)</default>
116
      <summary>Window size</summary>
117
      <description>
118
	The size (width, height) of the GtkFileChooserDialog's window, in pixels.
119
      </description>
120
    </key>
121 122
    <key name='startup-mode' enum='org.gtk.Settings.FileChooser.StartupMode'>
      <default>'recent'</default>
123
      <summary>Startup mode</summary>
124 125 126 127 128
      <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>
129
    </key>
130 131
    <key name='sidebar-width' type='i'>
      <default>148</default>
132
      <summary>Sidebar width</summary>
133 134 135
      <description>
	Width in pixels of the file chooser's places sidebar.
      </description>
136
    </key>
137 138
    <key name="clock-format" enum="org.gtk.Settings.FileChooser.ClockFormat">
      <default>'24h'</default>
139
      <summary>Time format</summary>
140 141 142 143
      <description>
        Whether the time is shown in 24h or 12h format.
      </description>
    </key>
144 145 146 147 148 149 150
    <key name="date-format" enum="org.gtk.Settings.FileChooser.DateFormat">
      <default>'regular'</default>
      <summary>Date format</summary>
      <description>
        The amount of detail to show in the Modified column.
      </description>
    </key>
151 152 153
  </schema>

</schemalist>