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



Yoann Vandoorselaere <yoann mandrakesoft com> writes:

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

It'll forbid changement in the directoy once it is loaded throught...
I'll work on this later... We probably need filtering the kind of
request in queue_pending_file()

-- 
Yoann Vandoorselaere | One luser tried to change his password on Mandrake. Not
MandrakeSoft         | having any imagination at all, he entered "penis" for a
                     | password... He got the following answer:   BAD PASSWORD:
                     | it is too short




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