diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-09-19 05:25:54 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-09-19 05:25:54 +0800 |
commit | 390621f624b0be7485abdba29d0fe46c905156c8 (patch) | |
tree | 670249ecb7157f365bf569e774d2c0588ab11d08 /mail/mail-tools.c | |
parent | e73fea5ecfc8b1840eaff2b3c4d88fa9bd46df87 (diff) | |
download | gsoc2013-evolution-390621f624b0be7485abdba29d0fe46c905156c8.tar.gz gsoc2013-evolution-390621f624b0be7485abdba29d0fe46c905156c8.tar.zst gsoc2013-evolution-390621f624b0be7485abdba29d0fe46c905156c8.zip |
Oops, forgot about X-Evolution-Format.
2001-09-18 Jeffrey Stedfast <fejj@ximian.com>
* mail-tools.c (mail_tool_remove_xevolution_headers): Oops, forgot
about X-Evolution-Format.
(mail_tool_restore_xevolution_headers): Same.
svn path=/trunk/; revision=12955
Diffstat (limited to 'mail/mail-tools.c')
-rw-r--r-- | mail/mail-tools.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mail/mail-tools.c b/mail/mail-tools.c index 1cbf3163a2..1c151b9d5e 100644 --- a/mail/mail-tools.c +++ b/mail/mail-tools.c @@ -238,6 +238,7 @@ mail_tool_remove_xevolution_headers (CamelMimeMessage *message) xev->transport = g_strdup (camel_medium_get_header (CAMEL_MEDIUM (message), "X-Evolution-Transport")); xev->account = g_strdup (camel_medium_get_header (CAMEL_MEDIUM (message), "X-Evolution-Account")); xev->fcc = g_strdup (camel_medium_get_header (CAMEL_MEDIUM (message), "X-Evolution-Fcc")); + xev->format = g_strdup (camel_medium_get_header (CAMEL_MEDIUM (message), "X-Evolution-Format")); /* rip off the X-Evolution* headers */ camel_medium_remove_header (CAMEL_MEDIUM (message), "X-Evolution"); @@ -245,6 +246,7 @@ mail_tool_remove_xevolution_headers (CamelMimeMessage *message) camel_medium_remove_header (CAMEL_MEDIUM (message), "X-Evolution-Transport"); camel_medium_remove_header (CAMEL_MEDIUM (message), "X-Evolution-Account"); camel_medium_remove_header (CAMEL_MEDIUM (message), "X-Evolution-Fcc"); + camel_medium_remove_header (CAMEL_MEDIUM (message), "X-Evolution-Format"); return xev; } @@ -262,6 +264,8 @@ mail_tool_restore_xevolution_headers (CamelMimeMessage *message, XEvolution *xev camel_medium_set_header (CAMEL_MEDIUM (message), "X-Evolution-Account", xev->account); if (xev->fcc) camel_medium_set_header (CAMEL_MEDIUM (message), "X-Evolution-Fcc", xev->fcc); + if (xev->format) + camel_medium_set_header (CAMEL_MEDIUM (message), "X-Evolution-Format", xev->format); } void |