summaryrefslogtreecommitdiff
path: root/daemon/gvfsbackendtrash.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@redhat.com>2009-10-08 15:11:10 +0200
committerAlexander Larsson <alexl@redhat.com>2009-10-08 15:11:10 +0200
commitbffa8a049d7d1ce681af3b0288684a0e64a56a0b (patch)
tree942eaeb4f16ca6ba3f45981828cbaa41bb6f1a5d /daemon/gvfsbackendtrash.c
parente0dadf5ebfc458bcb821f839bbd6e400a3a5093c (diff)
downloadgvfs-bffa8a049d7d1ce681af3b0288684a0e64a56a0b.tar.gz
Don't always overwrite on trash restore
We want to get overwrite dialogs when restoring from trash. https://bugzilla.gnome.org/show_bug.cgi?id=596618
Diffstat (limited to 'daemon/gvfsbackendtrash.c')
-rw-r--r--daemon/gvfsbackendtrash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/daemon/gvfsbackendtrash.c b/daemon/gvfsbackendtrash.c
index 166bd048..e515fb80 100644
--- a/daemon/gvfsbackendtrash.c
+++ b/daemon/gvfsbackendtrash.c
@@ -447,7 +447,7 @@ trash_backend_pull (GVfsBackend *vfs_backend,
destination = g_file_new_for_path (local_path);
if (remove_source)
- it_worked = trash_item_restore (item, destination, &error);
+ it_worked = trash_item_restore (item, destination, flags, &error);
else
it_worked = g_file_copy (real, destination, flags,
G_VFS_JOB (job)->cancellable,