file-operations: use total number of files for reporting

We were using the current transfer information for
"duplicating <n> files", which should actually show
the total amount.
This commit is contained in:
Carlos Soriano 2015-09-08 16:24:37 +02:00
parent 04c6c58e33
commit 6d897c950c

View file

@ -3271,7 +3271,7 @@ report_copy_progress (CopyMoveJob *copy_job,
transfer_info->num_files + 1);
nautilus_progress_info_take_status (job->progress,
f (status,
transfer_info->num_files + 1,
source_info->num_files + 1,
parent));
} else {
status = ngettext ("Duplicated %'d file in “%B”",