projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
518e2f8
)
* Fixed the empty header list view problem when removing the last message of a folder
author
Sergio Villar Senin
<svillar@igalia.com>
Wed, 30 Jan 2008 18:59:54 +0000
(18:59 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Wed, 30 Jan 2008 18:59:54 +0000
(18:59 +0000)
pmo-trunk-r4116
src/maemo/modest-main-window.c
patch
|
blob
|
history
diff --git
a/src/maemo/modest-main-window.c
b/src/maemo/modest-main-window.c
index
14d8b8e
..
74031f0
100644
(file)
--- 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 */