Re: [evolution-patches] Addressbook: importing contacts.



It's wrong.

The loop should import 50 at a time, and then if there are any more, it
should re-call the idle handler, until it is finished.

It must not import them all in one go, as it could lock up the ui for an
unreasonable amount of time.

That's why it is in an idle handler.


On Wed, 2005-08-03 at 13:34 +0530, Sushma Rai wrote:
> Currently only 50 items are getting imported.
> Please review the attached patch.
> 
> Thanks,
> Sushma.
> 
> _______________________________________________
> evolution-patches mailing list
> evolution-patches lists ximian com
> http://lists.ximian.com/mailman/listinfo/evolution-patches




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