diff options
author | neoraider <devnull@localhost> | 2007-11-16 00:35:01 +0100 |
---|---|---|
committer | neoraider <devnull@localhost> | 2007-11-16 00:35:01 +0100 |
commit | 96edb8f4908337d82e6523319e58b6ce46144cbb (patch) | |
tree | ca249f9aa1ed01de61224a3ec7329b98ce8503c7 | |
parent | b478ad79508f5a06e8c0fc5937b28585c747fb04 (diff) | |
download | zoomedit-96edb8f4908337d82e6523319e58b6ce46144cbb.tar zoomedit-96edb8f4908337d82e6523319e58b6ce46144cbb.zip |
zoomedit: Speicher-Dialog angepasst, u.a. ?berschreibabfrage.
-rw-r--r-- | FileManager.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/FileManager.cpp b/FileManager.cpp index 7650a2f..0025cf2 100644 --- a/FileManager.cpp +++ b/FileManager.cpp @@ -180,7 +180,9 @@ bool FileManager::save(GtkWindow *parent) { bool FileManager::saveAs(GtkWindow *parent) { GtkWidget *dialog = gtk_file_chooser_dialog_new(NULL, parent, GTK_FILE_CHOOSER_ACTION_SAVE, - GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, GTK_STOCK_CANCEL, GTK_RESPONSE_REJECT, NULL); + GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, NULL); + + gtk_file_chooser_set_do_overwrite_confirmation(GTK_FILE_CHOOSER(dialog), TRUE); if(filename) gtk_file_chooser_set_filename(GTK_FILE_CHOOSER(dialog), filename); |