Don't refilter the model everytime the msg count changes,
[modest] / 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);
        }
                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);
 }
 
 
 }