diff options
author | 4 <NotZed@Ximian.com> | 2001-10-05 08:21:28 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-10-05 08:21:28 +0800 |
commit | b4d1e6b70e3a083666ac712063b89a88b4eb08cb (patch) | |
tree | 1df0791ad13b3f426ba25bdfc413e781f7c23f78 /mail/folder-browser.c | |
parent | c5f392ca0e8b878206a012da11522125e1d86342 (diff) | |
download | gsoc2013-evolution-b4d1e6b70e3a083666ac712063b89a88b4eb08cb.tar gsoc2013-evolution-b4d1e6b70e3a083666ac712063b89a88b4eb08cb.tar.gz gsoc2013-evolution-b4d1e6b70e3a083666ac712063b89a88b4eb08cb.tar.bz2 gsoc2013-evolution-b4d1e6b70e3a083666ac712063b89a88b4eb08cb.tar.lz gsoc2013-evolution-b4d1e6b70e3a083666ac712063b89a88b4eb08cb.tar.xz 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/folder-browser.c')
-rw-r--r-- | mail/folder-browser.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 43363f4930..9299b2fbb9 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -723,7 +723,7 @@ update_status_bar(FolderBrowser *fb) CORBA_Environment ev; int tmp; GString *work; - extern CamelFolder *outbox_folder; + extern CamelFolder *outbox_folder, *sent_folder; if (fb->folder == NULL || fb->message_list == NULL @@ -764,6 +764,8 @@ update_status_bar(FolderBrowser *fb) g_string_append(work, _(", ")); if (fb->folder == outbox_folder) g_string_sprintfa(work, _("%d unsent"), tmp); + else if (fb->folder == sent_folder) + g_string_sprintfa(work, _("%d sent"), tmp); else g_string_sprintfa(work, _("%d total"), tmp); |