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

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)...

Yoann Vandoorselaere | Real Programmers consider "what you see is what you get"
MandrakeSoft         | to be just as  bad a concept in Text Editors as it is in
                     | women. No, the Real Programmer wants a "you asked for
                     | it, you got it" text editor -- complicated,  cryptic,
                     | powerful, unforgiving, dangerous.

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