From 390621f624b0be7485abdba29d0fe46c905156c8 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Tue, 18 Sep 2001 21:25:54 +0000 Subject: Oops, forgot about X-Evolution-Format. 2001-09-18 Jeffrey Stedfast * 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 --- mail/mail-tools.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mail/mail-tools.c') 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 -- cgit