aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJon Trowbridge <trow@gnu.org>2001-10-09 10:02:16 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-10-09 10:02:16 +0800
commitc5a91116e208aa02e8412ab778b7c959dc089ddd (patch)
treef342d582a671759e2c5b401c453baf4305d68ba6 /mail
parent8b7c3aea72945817b1dbe6a2370e66fe09111733 (diff)
downloadgsoc2013-evolution-c5a91116e208aa02e8412ab778b7c959dc089ddd.tar
gsoc2013-evolution-c5a91116e208aa02e8412ab778b7c959dc089ddd.tar.gz
gsoc2013-evolution-c5a91116e208aa02e8412ab778b7c959dc089ddd.tar.bz2
gsoc2013-evolution-c5a91116e208aa02e8412ab778b7c959dc089ddd.tar.lz
gsoc2013-evolution-c5a91116e208aa02e8412ab778b7c959dc089ddd.tar.xz
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')
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-format.c8
2 files changed, 11 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 4209fa7b32..4152eb562f 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2001-10-08 Jon Trowbridge <trow@gnu.org>
+
+ * mail-format.c (write_default_header): Write out the Bcc: header
+ when applicable. Fixes bug #5823.
+
2001-10-08 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (attachment_header): Convert the htmlinfo into
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: