[file-roller: 16/123] ask overwrite confirmation before deleting an existing archive
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [file-roller: 16/123] ask overwrite confirmation before deleting an existing archive
- Date: Mon, 6 Aug 2012 13:42:12 +0000 (UTC)
commit 22a902109ec17fdba43e8f7cedac4a6ee5c5b1f9
Author: Paolo Bacchilega <paobac src gnome org>
Date: Wed Jul 18 10:22:22 2012 +0200
ask overwrite confirmation before deleting an existing archive
src/fr-new-archive-dialog.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/fr-new-archive-dialog.c b/src/fr-new-archive-dialog.c
index 1044218..1402261 100644
--- a/src/fr-new-archive-dialog.c
+++ b/src/fr-new-archive-dialog.c
@@ -283,6 +283,7 @@ _fr_new_archive_dialog_construct (FrNewArchiveDialog *self,
int i;
gtk_file_chooser_set_action (GTK_FILE_CHOOSER (self), GTK_FILE_CHOOSER_ACTION_SAVE);
+ gtk_file_chooser_set_do_overwrite_confirmation (GTK_FILE_CHOOSER (self), TRUE);
gtk_window_set_modal (GTK_WINDOW (self), TRUE);
gtk_window_set_transient_for (GTK_WINDOW (self), parent);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]