mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-09-13 04:51:15 +00:00
Ensure the source isn't deleted as partial copy in a duplicate operation.
2004-01-02 Martin Wehner <martin.wehner@epost.de> * libnautilus-private/nautilus-file-operations.c: Ensure the source isn't deleted as partial copy in a duplicate operation. Fixes bug #128095.
This commit is contained in:
parent
68d7895c87
commit
2453e643b7
|
@ -1,3 +1,9 @@
|
|||
2004-01-02 Martin Wehner <martin.wehner@epost.de>
|
||||
|
||||
* libnautilus-private/nautilus-file-operations.c:
|
||||
Ensure the source isn't deleted as partial copy
|
||||
in a duplicate operation. Fixes bug #128095.
|
||||
|
||||
=== nautilus 2.5.4 ===
|
||||
|
||||
2003-12-29 Alexander Larsson <alexl@redhat.com>
|
||||
|
|
|
@ -386,9 +386,11 @@ handle_transfer_ok (const GnomeVFSXferProgressInfo *progress_info,
|
|||
if (transfer_info->cancelled
|
||||
&& progress_info->phase != GNOME_VFS_XFER_PHASE_COMPLETED) {
|
||||
/* If cancelled, delete any partially copied files that are laying
|
||||
* around and return.
|
||||
* around and return. Don't delete the source though..
|
||||
*/
|
||||
if (progress_info->target_name != NULL
|
||||
&& progress_info->source_name != NULL
|
||||
&& strcmp (progress_info->source_name, progress_info->target_name) != 0
|
||||
&& progress_info->bytes_total != progress_info->bytes_copied) {
|
||||
GList *delete_me;
|
||||
|
||||
|
|
Loading…
Reference in a new issue