Re: [Nautilus-list] [PATCH]: avoid re-layouting when it's not needed.



Yoann Vandoorselaere wrote:

Yoann Vandoorselaere <yoann mandrakesoft com> writes:

Miguel Rodríguez Pérez <migrax terra es> writes:

Yoann Vandoorselaere wrote:

On directory load, we do relayout several time before it's needed
(before any file get added or changed). In fact, in this case, the
files_changed signal should only be hooked after finish_loading is
called (when the view is loaded and we are starting monitoring the
directory), and disconnected as soon as the directory load is done.

This work fine on my local tree, and seem to help with latency.

I have tried your patch and I am not longer able to see directory
counts for any directory under it's icon untill I enter one and go
back again.

I did not have directory count enabled on my system at testing time,
I'll look at the problem later (short on time right now)...


Finally did it now... This one should work and still bring the improvment.
Please give feedback...

Well, this time it worked right. (Sorry for the delay, but it was a beutifull sunny day here in Vigo...)

Thanks for your job making Nautilus faster...






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]