summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarin Adler <darin@src.gnome.org>2001-10-01 20:44:33 +0000
committerDarin Adler <darin@src.gnome.org>2001-10-01 20:44:33 +0000
commit2ec827207e9110c2acd180a3db27ca08e397c1bb (patch)
tree6a3b3a2b209744ec0257a942fd0883cb65753d0f
parent010541befb221dac9d1261ec1dc158b92044a8eb (diff)
downloadnautilus-2ec827207e9110c2acd180a3db27ca08e397c1bb.tar.gz
Say that the deep count of a non-directory is "done" rather "not started".
* libnautilus-private/nautilus-directory-async.c: (deep_count_start): Say that the deep count of a non-directory is "done" rather "not started". This was causing an infinite loop when doing the directory self-check.
-rw-r--r--ChangeLog7
-rw-r--r--libnautilus-private/nautilus-directory-async.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 52d060ce1..7c6b7bfe7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2001-10-01 Darin Adler <darin@bentspoon.com>
+
+ * libnautilus-private/nautilus-directory-async.c:
+ (deep_count_start): Say that the deep count of a non-directory is
+ "done" rather "not started". This was causing an infinite loop when
+ doing the directory self-check.
+
2001-10-01 Benedikt Roth <Benedikt.Roth@gmx.net>
* libnautilus-private/nautilus-file-operations.c:
diff --git a/libnautilus-private/nautilus-directory-async.c b/libnautilus-private/nautilus-directory-async.c
index 5ed4ee009..aed87ae6d 100644
--- a/libnautilus-private/nautilus-directory-async.c
+++ b/libnautilus-private/nautilus-directory-async.c
@@ -2261,7 +2261,7 @@ deep_count_start (NautilusDirectory *directory,
}
if (!nautilus_file_is_directory (file)) {
- file->details->deep_counts_status = NAUTILUS_REQUEST_NOT_STARTED;
+ file->details->deep_counts_status = NAUTILUS_REQUEST_DONE;
nautilus_directory_async_state_changed (directory);
return;