mirror of https://github.com/djcb/mu.git
* mug-msg-list-view.c: iterate the ui during list population
This commit is contained in:
parent
7fc00c5d10
commit
21fcef13d9
|
@ -393,9 +393,14 @@ update_model (GtkListStore * store, const char *xpath, const char *query,
|
||||||
}
|
}
|
||||||
|
|
||||||
for (count = 0; !mu_msg_iter_is_done (iter);
|
for (count = 0; !mu_msg_iter_is_done (iter);
|
||||||
mu_msg_iter_next (iter), ++count)
|
mu_msg_iter_next (iter), ++count) {
|
||||||
|
|
||||||
add_row (store, iter);
|
add_row (store, iter);
|
||||||
|
|
||||||
|
if (count % 50 == 0)
|
||||||
|
gtk_main_iteration ();
|
||||||
|
}
|
||||||
|
|
||||||
mu_msg_iter_destroy (iter);
|
mu_msg_iter_destroy (iter);
|
||||||
|
|
||||||
return count;
|
return count;
|
||||||
|
|
Loading…
Reference in New Issue