summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/filedialogimpl-win32.cpp
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2009-08-07 09:31:39 +0000
committercilix42 <cilix42@users.sourceforge.net>2009-08-07 09:31:39 +0000
commitc5b0b577134ed7c2df538ed019a6c07cb75bf38e (patch)
treef3dc9f3582bc21808ab86d1e8c59d45492df6c41 /src/ui/dialog/filedialogimpl-win32.cpp
parentFix buglet: In the Save dialog the file extension should be automatically upd... (diff)
downloadinkscape-c5b0b577134ed7c2df538ed019a6c07cb75bf38e.tar.gz
inkscape-c5b0b577134ed7c2df538ed019a6c07cb75bf38e.zip
Store last used paths separately for the 'Save as ...' and 'Save a copy ...' dialogs and remember the last used file types in each case (closes LP #184655 and perhaps others; LP #386292 was fixed by the previous commit).
(bzr r8432)
Diffstat (limited to 'src/ui/dialog/filedialogimpl-win32.cpp')
-rw-r--r--src/ui/dialog/filedialogimpl-win32.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/dialog/filedialogimpl-win32.cpp b/src/ui/dialog/filedialogimpl-win32.cpp
index 0d8f0de5f..c703d3c75 100644
--- a/src/ui/dialog/filedialogimpl-win32.cpp
+++ b/src/ui/dialog/filedialogimpl-win32.cpp
@@ -1497,8 +1497,9 @@ FileSaveDialogImplWin32::FileSaveDialogImplWin32(Gtk::Window &parent,
FileDialogType fileTypes,
const char *title,
const Glib::ustring &/*default_key*/,
- const char *docTitle) :
- FileDialogBaseWin32(parent, dir, title, fileTypes, "dialogs.save_as"),
+ const char *docTitle,
+ const bool save_copy) :
+ FileDialogBaseWin32(parent, dir, title, fileTypes, save_copy ? "dialogs.save_copy" : "dialogs.save_as"),
_title_label(NULL),
_title_edit(NULL)
{