diff options
author | Jon Trowbridge <trow@gnu.org> | 2001-10-09 10:02:16 +0800 |
---|---|---|
committer | Jon Trowbridge <trow@src.gnome.org> | 2001-10-09 10:02:16 +0800 |
commit | c5a91116e208aa02e8412ab778b7c959dc089ddd (patch) | |
tree | f342d582a671759e2c5b401c453baf4305d68ba6 /mail/mail-format.c | |
parent | 8b7c3aea72945817b1dbe6a2370e66fe09111733 (diff) | |
download | gsoc2013-evolution-c5a91116e208aa02e8412ab778b7c959dc089ddd.tar.gz gsoc2013-evolution-c5a91116e208aa02e8412ab778b7c959dc089ddd.tar.zst gsoc2013-evolution-c5a91116e208aa02e8412ab778b7c959dc089ddd.zip |
Write out the Bcc: header when applicable. Fixes bug #5823.
2001-10-08 Jon Trowbridge <trow@gnu.org>
* mail-format.c (write_default_header): Write out the Bcc: header
when applicable. Fixes bug #5823.
svn path=/trunk/; revision=13508
Diffstat (limited to 'mail/mail-format.c')
-rw-r--r-- | mail/mail-format.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mail/mail-format.c b/mail/mail-format.c index f3b364fde2..03bff9a765 100644 --- a/mail/mail-format.c +++ b/mail/mail-format.c @@ -883,7 +883,7 @@ write_address (MailDisplay *md, const CamelInternetAddress *addr, const char *fi /* order of these must match write_header code */ static char *default_headers[] = { - "From", "Reply-To", "To", "Cc", "Subject", "Date", + "From", "Reply-To", "To", "Cc", "Bcc", "Subject", "Date", }; /* return index of header in default_headers array */ @@ -919,10 +919,14 @@ write_default_header(CamelMimeMessage *message, MailDisplay *md, int index, int _("Cc"), flags | WRITE_BOLD); break; case 4: + write_address (md, camel_mime_message_get_recipients (message, CAMEL_RECIPIENT_TYPE_BCC), + _("Bcc"), flags | WRITE_BOLD); + break; + case 5: write_text_header (_("Subject"), camel_mime_message_get_subject (message), flags | WRITE_BOLD, md->html, md->stream); break; - case 5: + case 6: write_date (message, flags | WRITE_BOLD, md->html, md->stream); break; default: |