aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Williams <peterw@ximian.com>2001-07-27 00:15:40 +0800
committerPeter Williams <peterw@src.gnome.org>2001-07-27 00:15:40 +0800
commita1677306784f06aa3e705f5f656d8c4b425deb4d (patch)
tree98623bd17a8e9db2bd814c2d5c85109da1500399
parent41014ea1a9f916e4ba79ff27d8fedd0b89f6b7d4 (diff)
downloadgsoc2013-evolution-a1677306784f06aa3e705f5f656d8c4b425deb4d.tar.gz
gsoc2013-evolution-a1677306784f06aa3e705f5f656d8c4b425deb4d.tar.zst
gsoc2013-evolution-a1677306784f06aa3e705f5f656d8c4b425deb4d.zip
Don't display "0 hidden".
2001-07-26 Peter Williams <peterw@ximian.com> * mail-folder-cache.c (make_folder_status): Don't display "0 hidden". svn path=/trunk/; revision=11427
-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);
0'>2009-02-202-5/+4 * - Pass maintainership to submittertabthorpe2009-02-171-1/+1 * Hunt for typos in devel/p5-*.olgeni2008-05-241-2/+2 * - Take advantage of CPAN macro from bsd.sites.mk, change ${MASTER_SITE_PERL_C...araujo2008-04-171-1/+1 * Reset jeremy@external.org who has not responded to email asking aboutlinimon2006-04-051-1/+1 * SHA256ifyedwin2006-01-221-0/+1 * Replace ugly "@unexec rmdir %D... 2>/dev/null || true" with @dirrmtryedwin2006-01-221-2/+2 * - Update to 2.39leeym2005-07-292-4/+4 * SIZEify (maintainer timeout)trevor2004-03-311-0/+1 * - update to 2.38erwin2003-07-104-8/+9 * De-pkg-comment.knu2003-02-212-1/+1