diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2012-08-17 10:28:19 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2012-08-17 10:28:19 -0700 |
commit | 589589c707262920a4c9ffc258704e30fa62b8fa (patch) | |
tree | e2f4c4fcd04259a85404361f06c790db9220ad82 /dive.c | |
parent | aab94d07ccb890caaa03cf220b442ea5ce228fc1 (diff) | |
parent | 9cb36850303f8ce6c031926512aad3fc2d800889 (diff) | |
download | subsurface-589589c707262920a4c9ffc258704e30fa62b8fa.tar.gz |
Merge branch 'change_quit2' of http://ambre.pingoured.fr/cgit/subsurface
Pull patches to change behavior on exit from Pierre-Yves Chibon.
Pierry-Yves explains:
"When someone opens a file, change something in it and try to quit, the
program asked whether the data should be saved.
If 'Ok' then it shows the save-window and the user can choose to save
the file or rename it.
My habits in such case would be that since I opened a specific file, I
want to save to that specific file, therefore, when I press 'Ok', I
want it to save automatically to the file I opened.
So I have been working on changes that do:
- When a file has been opened by the user, save to this same file if
the user is 'Ok' while closing.
- Add a 'Cancel' option to the pop-up window that offers to save the
file while closing.
- Add a 'Save As' entry in the file menu."
* 'change_quit2' of http://ambre.pingoured.fr/cgit/subsurface:
Add a 'Save As' entry in the menu.
Allow to cancel while trying to quit and the data was changed.
When the file has been opened rely on it to save.
Diffstat (limited to 'dive.c')
0 files changed, 0 insertions, 0 deletions