X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fmaemo%2Fmodest-main-window.c;h=e0f6896461ba58f361934f841606310a1e4e3a97;hp=5dbb687838663aeddad807e90859ee8a8ac202dc;hb=b5a927b9c8ccfb95d9546c31b6fdcb44596660a9;hpb=0c46a692d7b9a41ff219874752172b6f7aa3a804 diff --git a/src/maemo/modest-main-window.c b/src/maemo/modest-main-window.c index 5dbb687..e0f6896 100644 --- a/src/maemo/modest-main-window.c +++ b/src/maemo/modest-main-window.c @@ -1793,6 +1793,11 @@ _on_msg_count_changed (ModestHeaderView *header_view, printf ("DEBUG: %s: folder_empty=%d\n", __FUNCTION__, folder_empty); +/* Check header removed (hide marked as DELETED headers) */ + if (changed & TNY_FOLDER_CHANGE_CHANGED_EXPUNGED_HEADERS) { + modest_header_view_refilter (MODEST_HEADER_VIEW(priv->header_view)); + } + /* Set contents style of headers view */ if (folder_empty) { modest_main_window_set_contents_style (main_window,