summaryrefslogtreecommitdiff
path: root/libnautilus-private
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2008-03-06 12:25:43 +0000
committerAlexander Larsson <alexl@src.gnome.org>2008-03-06 12:25:43 +0000
commite944b2d95944089921b15e94791419142192cfdd (patch)
tree03ae1a764844094beb79fac5450350a6197e3ec7 /libnautilus-private
parentf98d2edb0a71c58127e23a05d58bd12842b57132 (diff)
downloadnautilus-e944b2d95944089921b15e94791419142192cfdd.tar.gz
Fix delete all button (#518616) Patch from Rached Ben Mustapha
2008-03-06 Alexander Larsson <alexl@redhat.com> * libnautilus-private/nautilus-file-operations.c: (trash_files): Fix delete all button (#518616) Patch from Rached Ben Mustapha svn path=/trunk/; revision=13888
Diffstat (limited to 'libnautilus-private')
-rw-r--r--libnautilus-private/nautilus-file-operations.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libnautilus-private/nautilus-file-operations.c b/libnautilus-private/nautilus-file-operations.c
index 4e0eda271..c9d91e3b5 100644
--- a/libnautilus-private/nautilus-file-operations.c
+++ b/libnautilus-private/nautilus-file-operations.c
@@ -1583,6 +1583,7 @@ trash_files (CommonJob *job, GList *files)
/* nothing */
} else if (response == 3) { /* delete all */
to_delete = g_list_prepend (to_delete, file);
+ job->delete_all = TRUE;
} else if (response == 4) { /* delete */
to_delete = g_list_prepend (to_delete, file);
}