summaryrefslogtreecommitdiff
path: root/gtk/org.gtk.gtk4.Settings.FileChooser.gschema.xml
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/org.gtk.gtk4.Settings.FileChooser.gschema.xml')
-rw-r--r--gtk/org.gtk.gtk4.Settings.FileChooser.gschema.xml27
1 files changed, 26 insertions, 1 deletions
diff --git a/gtk/org.gtk.gtk4.Settings.FileChooser.gschema.xml b/gtk/org.gtk.gtk4.Settings.FileChooser.gschema.xml
index 2db786b236..985b9dda80 100644
--- a/gtk/org.gtk.gtk4.Settings.FileChooser.gschema.xml
+++ b/gtk/org.gtk.gtk4.Settings.FileChooser.gschema.xml
@@ -25,7 +25,8 @@
<enum id='org.gtk.gtk4.Settings.FileChooser.SortColumn'>
<value nick='name' value='0'/>
<value nick='size' value='1'/>
- <value nick='modified' value='2'/>
+ <value nick='type' value='2'/>
+ <value nick='modified' value='3'/>
</enum>
<enum id='org.gtk.gtk4.Settings.FileChooser.SortOrder'>
@@ -48,6 +49,12 @@
<value nick='with-time' value='1'/>
</enum>
+ <enum id='org.gtk.gtk4.Settings.FileChooser.TypeFormat'>
+ <value nick='mime' value='0'/>
+ <value nick='description' value='1'/>
+ <value nick='category' value='2'/>
+ </enum>
+
<schema id='org.gtk.gtk4.Settings.FileChooser' path='/org/gtk/gtk4/settings/file-chooser/'>
<key name='last-folder-uri' type='s'>
<default>""</default>
@@ -87,6 +94,13 @@
Controls whether the file chooser shows a column with file sizes.
</description>
</key>
+ <key name='show-type-column' type='b'>
+ <default>true</default>
+ <summary>Show file types</summary>
+ <description>
+ Controls whether the file chooser shows a column with file types.
+ </description>
+ </key>
<key name='sort-column' enum='org.gtk.gtk4.Settings.FileChooser.SortColumn'>
<default>'name'</default>
<summary>Sort column</summary>
@@ -148,6 +162,17 @@
The amount of detail to show in the Modified column.
</description>
</key>
+ <key name="type-format" enum="org.gtk.gtk4.Settings.FileChooser.TypeFormat">
+ <default>'category'</default>
+ <summary>Type format</summary>
+ <description>
+ Different ways to show the 'Type' column information.
+ Example outputs for a video mp4 file:
+ 'mime' -> 'video/mp4'
+ 'description' -> 'MPEG-4 video'
+ 'category' -> 'Video'
+ </description>
+ </key>
</schema>
</schemalist>