aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/mail-folder-cache.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index d04b4e0549..ac9fe8dbaa 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2001-07-26 Peter Williams <peterw@ximian.com>
+ * mail-folder-cache.c (make_folder_status): Don't display
+ "0 hidden".
+
* folder-browser.c (on_key_press): Make 'q' a toggle, not
one-way.
diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c
index 5c002af9d5..b2baf23f2c 100644
--- a/mail/mail-folder-cache.c
+++ b/mail/mail-folder-cache.c
@@ -171,7 +171,7 @@ make_folder_status (mail_folder_info *mfi)
set_one = TRUE;
}
- if (mfi->flags & MAIL_FIF_HIDDEN_VALID) {
+ if (mfi->flags & MAIL_FIF_HIDDEN_VALID && mfi->hidden) {
if (set_one)
work = g_string_append (work, _(", "));
g_string_sprintfa (work, _("%d hidden"), mfi->hidden);