diff options
author | Germán Poo-Caamaño <[email protected]> | 2017-05-12 10:54:37 -0300 |
---|---|---|
committer | raveit65 <[email protected]> | 2018-10-26 23:01:13 +0200 |
commit | 699ce127f8f18007d2894da87c81a31727b0a5cf (patch) | |
tree | 139f1fe015be567cebb021a1cae15565cde4ea5e /libdocument/ev-document-forms.c | |
parent | a6fc396acbb6ef2e71f13879ec2ee43f686f90c1 (diff) | |
download | atril-699ce127f8f18007d2894da87c81a31727b0a5cf.tar.bz2 atril-699ce127f8f18007d2894da87c81a31727b0a5cf.tar.xz |
shell: Save document to the same path it was opened from
When annotating or filling a form in a document, this must be saved
as a different document as atril does not overwrite documents.
The user can expect to store the modified file in the same place
than the original document, except when the document lives in
a temporary directory (e.g. downloaded automatically with a web
browser), in whose case it must fallback to the Documents
directory (if set) or the the home directory.
Previously, atril assumed the latest directory used, or the place
where an image or attachment was stored last. Such behaviour is
confusing because the latest place opened might have no relation
with the document modified.
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=767611
Adapted from https://gitlab.gnome.org/GNOME/evince/commit/319a6d49
Diffstat (limited to 'libdocument/ev-document-forms.c')
0 files changed, 0 insertions, 0 deletions