projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
af052d2
)
If we remove all visible messages, then retrieve more messages.
author
Jose Dapena Paz
<jdapena@igalia.com>
Mon, 2 Nov 2009 18:29:16 +0000
(19:29 +0100)
committer
Jose Dapena Paz
<jdapena@igalia.com>
Thu, 5 Nov 2009 11:02:48 +0000
(12:02 +0100)
src/hildon2/modest-header-window.c
patch
|
blob
|
history
diff --git
a/src/hildon2/modest-header-window.c
b/src/hildon2/modest-header-window.c
index
7d7b916
..
1a36c2c
100644
(file)
--- a/
src/hildon2/modest-header-window.c
+++ b/
src/hildon2/modest-header-window.c
@@
-1026,6
+1026,11
@@
update_view (ModestHeaderWindow *self,
modest_header_view_refilter (MODEST_HEADER_VIEW (priv->header_view));
visible = modest_header_view_get_show_latest (MODEST_HEADER_VIEW (priv->header_view));
modest_header_view_refilter (MODEST_HEADER_VIEW (priv->header_view));
visible = modest_header_view_get_show_latest (MODEST_HEADER_VIEW (priv->header_view));
+
+ if (all_count > 0 && visible < all_count && folder_empty) {
+ modest_header_view_set_show_latest (MODEST_HEADER_VIEW (priv->header_view), visible + SHOW_LATEST_SIZE);
+ }
+
if (visible > all_count)
visible = all_count;
if (visible == all_count) {
if (visible > all_count)
visible = all_count;
if (visible == all_count) {