Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file-operations: don't recurse for trash operations #1354

Merged
merged 1 commit into from Dec 10, 2016

Conversation

leigh123linux
Copy link
Contributor

Based on https://git.gnome.org/browse/nautilus/commit/?id=d4a4f7915ccad4fbe9bb726dd9f876738c7960d4

From d4a4f7915ccad4fbe9bb726dd9f876738c7960d4 Mon Sep 17 00:00:00 2001
From: Carlos Soriano csoriano@gnome.org
Date: Thu, 24 Nov 2016 13:32:02 +0100
Subject: file-operations: don't recurse for trash operations

We were scanning the sources as we do for copy and move operations,
and to count the files we were recursing inside directories.

However, the trash operation doesn't recurse at all, so the operation
progress was wrong.

Instead of that, don't recurse for counting the number of files, so the
trash progress is correct. Although is not coherent with the rest of the
operations, recursing for just showing all the files in the progress
would be extremely counterproductive.

https://bugzilla.gnome.org/show_bug.cgi?id=775094

@clefebvre clefebvre merged commit a9a3e97 into linuxmint:master Dec 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants