This doesn't quite work though: The deep-count request is set to
REQUEST_DONE on the first pass through (and all values set to 0), so it
won't try to count again on the second pass (with the known filetype).
AFAICT it'll always come up with "nothing" for the directories with
initially unknown types, even after the type is determined.
You can make it work by setting the request to NOT_STARTED in
deep_count_start if the file type is unknown. I'm not sure it's the
right fix though, it seems to be a systematic problem (it also applies
to the mime_list and directory_count requests) - There seems to be no
guarantee that you got the file type at this point, which will make
these functions bail out.

Martin


-- 
nautilus-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/nautilus-list

Reply via email to