changeset 1054:9157291b79a4

fixed confirm_delete option
author nadvornik
date Sun, 05 Oct 2008 18:25:44 +0000
parents 77ca9a5d42be
children 1646720364cf
files src/utilops.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/utilops.c	Sat Oct 04 20:28:31 2008 +0000
+++ b/src/utilops.c	Sun Oct 05 18:25:44 2008 +0000
@@ -2153,7 +2153,7 @@
 
 void file_util_delete(FileData *source_fd, GList *source_list, GtkWidget *parent)
 {
-	file_util_delete_full(source_fd, source_list, parent, UTILITY_PHASE_START);
+	file_util_delete_full(source_fd, source_list, parent, options->file_ops.confirm_delete ? UTILITY_PHASE_START : UTILITY_PHASE_ENTERING);
 }
 
 void file_util_copy(FileData *source_fd, GList *source_list, const gchar *dest_path, GtkWidget *parent)