diff src/utilops.c @ 1054:9157291b79a4

fixed confirm_delete option
author nadvornik
date Sun, 05 Oct 2008 18:25:44 +0000
parents 4fe8f9656107
children 1646720364cf
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)