Re: Patch: more responsive header list model



On Wed, 2010-02-10 at 18:30 +0100, José Dapena Paz wrote:
> El mié, 10-02-2010 a las 17:18 +0100, Sergio Villar Senin escribió:
> > Having a boolean argument seems a bit weird to me Dape, because it gives
> > the impression that you can disable the update in batches when it's
> > actually false. Why not just passing the amount of headers?
> 
> 	So, new patch. Now it gets a gint with the number of headers to fetch
> in each notify_views_add.

Why gint? Are you going to allow negative numbers?

> Changelog would be:
> 	* libtinymailui-gtk/tny-gtk-header-list-model.c:
> 	new method tny_gtk_header_list_model_set_update_in_batches
> 	to change the way headers are exposed to tree model. It
> 	sets the number of headers that will be added to tree model
> 	per batch. By default it's 3000 (old behavior). You can set
> 	a lower value to make ui more responsive.
> 
> 
> 
> _______________________________________________
> tinymail-devel-list mailing list
> tinymail-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/tinymail-devel-list

-- 
Philip Van Hoof, freelance software developer
home: me at pvanhoof dot be 
gnome: pvanhoof at gnome dot org 
http://pvanhoof.be/blog
http://codeminded.be



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