From: Alberto Garcia Date: Wed, 23 Jan 2008 15:31:44 +0000 (+0000) Subject: Don't refilter the model everytime the msg count changes, X-Git-Tag: git_migration_finished~1767 X-Git-Url: http://git.maemo.org/git/?p=modest;a=commitdiff_plain;h=e0521cac248602856888d8dffd4e34857737e57a Don't refilter the model everytime the msg count changes, or the UI will freeze completely in big folders pmo-trunk-r4082 --- diff --git a/src/maemo/modest-main-window.c b/src/maemo/modest-main-window.c index 03576fd..80abed1 100644 --- a/src/maemo/modest-main-window.c +++ b/src/maemo/modest-main-window.c @@ -1940,11 +1940,6 @@ on_msg_count_changed (ModestHeaderView *header_view, modest_main_window_set_contents_style (main_window, MODEST_MAIN_WINDOW_CONTENTS_STYLE_HEADERS); } - - /* Finally refilter the model. Do this *after* setting the - contents style because otherwise we could get into troubles - with the "No messages to show" banner */ - modest_header_view_refilter (priv->header_view); }