diff options
author | Peter Williams <peterw@ximian.com> | 2001-07-27 00:15:40 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2001-07-27 00:15:40 +0800 |
commit | a1677306784f06aa3e705f5f656d8c4b425deb4d (patch) | |
tree | 98623bd17a8e9db2bd814c2d5c85109da1500399 | |
parent | 41014ea1a9f916e4ba79ff27d8fedd0b89f6b7d4 (diff) | |
download | gsoc2013-evolution-a1677306784f06aa3e705f5f656d8c4b425deb4d.tar gsoc2013-evolution-a1677306784f06aa3e705f5f656d8c4b425deb4d.tar.gz gsoc2013-evolution-a1677306784f06aa3e705f5f656d8c4b425deb4d.tar.bz2 gsoc2013-evolution-a1677306784f06aa3e705f5f656d8c4b425deb4d.tar.lz gsoc2013-evolution-a1677306784f06aa3e705f5f656d8c4b425deb4d.tar.xz 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/ChangeLog | 3 | ||||
-rw-r--r-- | mail/mail-folder-cache.c | 2 |
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); |