file-operations: reset skipped status of files on copy/move

When copying or moving a file, the file’s “skipped” status is not reset,
resulting in cases where the code starts skipping all files. In such
cases the progress popover will show the finished operation count higher
than the total amount of files.

https://bugzilla.gnome.org/show_bug.cgi?id=779569
This commit is contained in:
Ernestas Kulik 2017-03-05 15:48:05 +02:00
parent 2fc8866a6f
commit b5ebb70374

View file

@ -5168,6 +5168,8 @@ copy_move_file (CopyMoveJob *copy_job,
job = (CommonJob *) copy_job;
*skipped_file = FALSE;
if (should_skip_file (job, src))
{
*skipped_file = TRUE;