index 90dddce59a51a8ba5858d32796a1fb9ffcc5d139..2a37aed2b62e37ae9a36bdb8c7b34053cd3228cb 100644 (file)
public:
FileSaveDialogImplGtk(Gtk::Window &parentWindow,
- const Glib::ustring &dir,
- FileDialogType fileTypes,
- const Glib::ustring &title,
- const Glib::ustring &default_key,
- const gchar* docTitle);
+ const Glib::ustring &dir,
+ FileDialogType fileTypes,
+ const Glib::ustring &title,
+ const Glib::ustring &default_key,
+ const gchar* docTitle,
+ const bool save_copy);
virtual ~FileSaveDialogImplGtk();
void change_path(const Glib::ustring& path);
void updateNameAndExtension();
+ /**
+ * Whether the dialog was invoked by "Save as ..." or "Save a copy ..."
+ */
+ bool is_copy;
+
/**
* Fix to allow the user to type the file name
*/