From a1677306784f06aa3e705f5f656d8c4b425deb4d Mon Sep 17 00:00:00 2001 From: Peter Williams Date: Thu, 26 Jul 2001 16:15:40 +0000 Subject: Don't display "0 hidden". 2001-07-26 Peter Williams * mail-folder-cache.c (make_folder_status): Don't display "0 hidden". svn path=/trunk/; revision=11427 --- mail/ChangeLog | 3 +++ mail/mail-folder-cache.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'mail') 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 + * 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); -- cgit