mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-10-30 08:07:38 +00:00
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:
parent
2fc8866a6f
commit
b5ebb70374
1 changed files with 2 additions and 0 deletions
|
@ -5168,6 +5168,8 @@ copy_move_file (CopyMoveJob *copy_job,
|
||||||
|
|
||||||
job = (CommonJob *) copy_job;
|
job = (CommonJob *) copy_job;
|
||||||
|
|
||||||
|
*skipped_file = FALSE;
|
||||||
|
|
||||||
if (should_skip_file (job, src))
|
if (should_skip_file (job, src))
|
||||||
{
|
{
|
||||||
*skipped_file = TRUE;
|
*skipped_file = TRUE;
|
||||||
|
|
Loading…
Reference in a new issue