Add file to work queue of enclosing directory when recomputing deep count

2006-03-05  Martin Wehner  <martin.wehner@gmail.com>

	* libnautilus-private/nautilus-file.c:
	(nautilus_file_recompute_deep_counts):
	Add file to work queue of enclosing directory when recomputing
	deep count for the properties dialog. Fixes #169342.

	Patch from Christian Neumair
This commit is contained in:
Martin Wehner 2006-03-05 16:19:20 +00:00 committed by Martin Wehner
parent 1af8bd5e33
commit e8415e3590
2 changed files with 10 additions and 0 deletions

View file

@ -1,3 +1,12 @@
2006-03-05 Martin Wehner <martin.wehner@gmail.com>
* libnautilus-private/nautilus-file.c:
(nautilus_file_recompute_deep_counts):
Add file to work queue of enclosing directory when recomputing
deep count for the properties dialog. Fixes #169342.
Patch from Christian Neumair
2006-03-03 Alexander Larsson <alexl@redhat.com>
* src/nautilus-window-manage-views.c:

View file

@ -3338,6 +3338,7 @@ nautilus_file_recompute_deep_counts (NautilusFile *file)
if (file->details->deep_counts_status != NAUTILUS_REQUEST_IN_PROGRESS) {
file->details->deep_counts_status = NAUTILUS_REQUEST_NOT_STARTED;
if (file->details->directory != NULL) {
nautilus_directory_add_file_to_work_queue (file->details->directory, file);
nautilus_directory_async_state_changed (file->details->directory);
}
}