aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-folder-cache.c
diff options
context:
space:
mode:
author4 <NotZed@Ximian.com>2001-10-05 08:21:28 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-10-05 08:21:28 +0800
commitb4d1e6b70e3a083666ac712063b89a88b4eb08cb (patch)
tree1df0791ad13b3f426ba25bdfc413e781f7c23f78 /mail/mail-folder-cache.c
parentc5f392ca0e8b878206a012da11522125e1d86342 (diff)
downloadgsoc2013-evolution-b4d1e6b70e3a083666ac712063b89a88b4eb08cb.tar.gz
gsoc2013-evolution-b4d1e6b70e3a083666ac712063b89a88b4eb08cb.tar.zst
gsoc2013-evolution-b4d1e6b70e3a083666ac712063b89a88b4eb08cb.zip
Show "nn sent" as total in sent folder, rather than just 'total'.
2001-10-04 <NotZed@Ximian.com> * folder-browser.c (update_status_bar): Show "nn sent" as total in sent folder, rather than just 'total'. * mail-folder-cache.c (update_1folder): Also show total message count for sent_folder. svn path=/trunk/; revision=13429
Diffstat (limited to 'mail/mail-folder-cache.c')
-rw-r--r--mail/mail-folder-cache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c
index c99637cb09..2c3474c817 100644
--- a/mail/mail-folder-cache.c
+++ b/mail/mail-folder-cache.c
@@ -105,14 +105,14 @@ update_1folder(struct _folder_info *mfi, CamelFolderInfo *info)
CamelFolder *folder;
int unread = -1;
CORBA_Environment ev;
- extern CamelFolder *outbox_folder;
+ extern CamelFolder *outbox_folder, *sent_folder;
si = mfi->store_info;
LOCK(info_lock);
folder = mfi->folder;
if (folder) {
- if (CAMEL_IS_VTRASH_FOLDER (folder) || folder == outbox_folder) {
+ if (CAMEL_IS_VTRASH_FOLDER (folder) || folder == outbox_folder || folder == sent_folder) {
unread = camel_folder_get_message_count(folder);
} else {
if (info)