Set header list model to load more responsive, using the new
authorJosé Dapena Paz <jdapena@igalia.com>
Wed, 10 Feb 2010 13:38:50 +0000 (14:38 +0100)
committerJosé Dapena Paz <jdapena@igalia.com>
Wed, 10 Feb 2010 17:56:55 +0000 (18:56 +0100)
tinymail method tny_gtk_header_list_model_set_update_in_batches

Fixes NB#155972

src/widgets/modest-header-view.c

index bde6238..bf618d2 100644 (file)
@@ -1183,6 +1183,7 @@ modest_header_view_set_folder_intern (ModestHeaderView *self,
        priv = MODEST_HEADER_VIEW_GET_PRIVATE(self);
 
        headers = TNY_LIST (tny_gtk_header_list_model_new ());
+       tny_gtk_header_list_model_set_update_in_batches (TNY_GTK_HEADER_LIST_MODEL (headers), 300);
        tny_gtk_header_list_model_set_show_latest (TNY_GTK_HEADER_LIST_MODEL (headers), priv->show_latest);
 
        /* Start the monitor in the callback of the