Don't refilter the model everytime the msg count changes,
authorAlberto Garcia <agarcia@igalia.com>
Wed, 23 Jan 2008 15:31:44 +0000 (15:31 +0000)
committerAlberto Garcia <agarcia@igalia.com>
Wed, 23 Jan 2008 15:31:44 +0000 (15:31 +0000)
or the UI will freeze completely in big folders

pmo-trunk-r4082

src/maemo/modest-main-window.c

index 03576fd..80abed1 100644 (file)
@@ -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);
 }