Re: [PATCH] add file to work queue when recomputing deep count
- From: "martin wehner" <martin wehner gmail com>
- To: "Christian Neumair" <chris gnome-de org>
- Cc: nautilus-list <nautilus-list gnome org>
- Subject: Re: [PATCH] add file to work queue when recomputing deep count
- Date: Sun, 5 Mar 2006 17:24:12 +0100
The patch looks correct to me and fixes bug #169342, so I committed it.
Thanks,
Martin
On 3/4/06, Christian Neumair <chris gnome-de org> wrote:
> nautilus_file_recompute_deep_counts didn't add the file to the work
> queue of the enclosing directory. This caused the deep count to not be
> reconsidered when it's deep count status was set to DONE before.
>
> Scenario where this was relevant:
>
> create two folders with a different number of items inside. Select one,
> show properties. Close the window and select both, displaying their
> properties. Now only the deep count of the file which was not previously
> selected will be displayed, and no I/O is done for the previously
> selected one.
>
> I'm not sure why in the properties window
> nautilus_file_recompute_deep_counts is used instead of an
> invalidate_attributes call, but I don't want to break anything that late
> in the cycle.
>
> --
> Christian Neumair <chris gnome-de org>
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2.1 (GNU/Linux)
>
> iD8DBQBECbBJWfvsaU5lO4kRAuxOAJ0cwGQE+ZZsvGxDWY1FA8aYC3oV2wCeO7g5
> bi7ADsyWzePo/zYWhkipuwU=
> =jONP
> -----END PGP SIGNATURE-----
>
>
> --
> nautilus-list mailing list
> nautilus-list gnome org
> http://mail.gnome.org/mailman/listinfo/nautilus-list
>
>
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]