summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-05-07 18:02:03 +0200
committerraveit65 <[email protected]>2016-05-26 16:15:22 +0200
commitd7836989512d27a12c8300fca843bc97995cf65e (patch)
tree4d79b90e24ef736c44c11359768c793484e461ce /data
parent9ecae29f107b3a12227a6dfe36a096fbe25e6f29 (diff)
downloadatril-d7836989512d27a12c8300fca843bc97995cf65e.tar.bz2
atril-d7836989512d27a12c8300fca843bc97995cf65e.tar.xz
shell: Store and restore current folder when opening or saving file
Remember the folder last used to open or save a document, attachment or image. taken from: https://git.gnome.org/browse/evince/commit/shell/ev-window.c?h=gnome-3-6&id=f6137df22503d88a76cc69f622919ec7bd3582d7 shell: Fix potential read-after-free in gsettings use It's not valid to use '&' with g_settings_get(). https://bugzilla.gnome.org/show_bug.cgi?id=723737 taken from: https://git.gnome.org/browse/evince/commit/?id=41ce0e1 ev-window: Don't crash when trying to save a copy We can not free both folder_uri and parent_uri. If parent_uri is non-NULL then it will point to the same location as folder_uri. Also, parent_uri is now unused so we can just remove it. https://bugzilla.gnome.org/show_bug.cgi?id=727536 taken from: https://git.gnome.org/browse/evince/commit/?id=3850ff5
Diffstat (limited to 'data')
-rw-r--r--data/org.mate.Atril.gschema.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/data/org.mate.Atril.gschema.xml b/data/org.mate.Atril.gschema.xml
index d73069ae..04195a33 100644
--- a/data/org.mate.Atril.gschema.xml
+++ b/data/org.mate.Atril.gschema.xml
@@ -17,6 +17,14 @@
<summary>Automatically reload then document</summary>
<description>The document is automatically reloaded on file change.</description>
</key>
+ <key name="document-directory" type="ms">
+ <default>nothing</default>
+ <summary>The URI of the directory last used to open or save a document</summary>
+ </key>
+ <key name="pictures-directory" type="ms">
+ <default>nothing</default>
+ <summary>The URI of the directory last used to save a picture</summary>
+ </key>
<child name="default" schema="org.mate.Atril.Default"/>
</schema>