summaryrefslogtreecommitdiff
path: root/gtk/org.gtk.Settings.FileChooser.gschema.xml
diff options
context:
space:
mode:
authorStéphane Maniaci <stephane.maniaci@gmail.com>2011-04-14 14:14:26 -0500
committerFederico Mena Quintero <federico@gnome.org>2011-04-15 15:34:22 -0500
commite3ce60cc2d0dd00f58318a3a967650864a29df4a (patch)
tree21184189b8eb47d44cff8dad01231b0a8ceff1ae /gtk/org.gtk.Settings.FileChooser.gschema.xml
parent1fdd4915fc91f01e0dd3323cebb0d70ab5a55dba (diff)
downloadgtk+-e3ce60cc2d0dd00f58318a3a967650864a29df4a.tar.gz
Make GtkFileChoser remember the last directory opened
Introduces a 'last-folder-uri' GSettings key, where we remember the last-opened folder from the previous instance of the file chooser. The idea is that this works globally, across all applications, so it will be easy to do things like 1. Save an attachment from a mail (or some other file) 2. Open another program 3. Do File/Open and automatically get sent to the folder where (1) happened. Signed-off-by: Federico Mena Quintero <federico@gnome.org> https://bugzilla.gnome.org/show_bug.cgi?id=644426
Diffstat (limited to 'gtk/org.gtk.Settings.FileChooser.gschema.xml')
-rw-r--r--gtk/org.gtk.Settings.FileChooser.gschema.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/org.gtk.Settings.FileChooser.gschema.xml b/gtk/org.gtk.Settings.FileChooser.gschema.xml
index 296d6d3c12..7bef20d17d 100644
--- a/gtk/org.gtk.Settings.FileChooser.gschema.xml
+++ b/gtk/org.gtk.Settings.FileChooser.gschema.xml
@@ -35,6 +35,9 @@
</enum>
<schema id='org.gtk.Settings.FileChooser'>
+ <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>