From 3f2f78216537cfd3a9cd8dc7e702c7850ce906cd Mon Sep 17 00:00:00 2001 From: Sergio Villar Senin Date: Wed, 30 Jan 2008 18:59:54 +0000 Subject: [PATCH] * Fixed the empty header list view problem when removing the last message of a folder pmo-trunk-r4116 --- src/maemo/modest-main-window.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/maemo/modest-main-window.c b/src/maemo/modest-main-window.c index 14d8b8e..74031f0 100644 --- a/src/maemo/modest-main-window.c +++ b/src/maemo/modest-main-window.c @@ -1929,6 +1929,8 @@ on_msg_count_changed (ModestHeaderView *header_view, if ((changed) & TNY_FOLDER_CHANGE_CHANGED_EXPUNGED_HEADERS) refilter = TRUE; + } else { + folder_empty = (((guint) tny_folder_get_all_count (TNY_FOLDER (folder))) == 0); } /* Check if all messages are marked to be deleted */ -- 1.7.9.5