linux eventlog: Ask for confirmation when overwriting an existing file when restoring. #1336

This commit is contained in:
Hylke Bons 2013-07-11 10:08:59 +01:00
parent c9f8e3549f
commit fe1b8e88cb

View file

@ -137,6 +137,7 @@ namespace SparkleShare {
this, FileChooserAction.Save, "Cancel", ResponseType.Cancel, "Save", ResponseType.Ok);
dialog.CurrentName = file_name;
dialog.DoOverwriteConfirmation = true;
dialog.SetCurrentFolder (target_folder_path);
if (dialog.Run () == (int) ResponseType.Ok)