From 9b46a3eda439caa62d67c53a4939e0d420f6bccb Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 6 Dec 2001 21:51:58 +0000 Subject: Don't append "(Preview Version)" at the end of the version string. Use the 2001-12-03 Jeffrey Stedfast * mail-ops.c (mail_send_message): Don't append "(Preview Version)" at the end of the version string. Use the PREVIEW_RELEASE #define instead. svn path=/trunk/; revision=14913 --- mail/ChangeLog | 6 ++++++ mail/mail-ops.c | 9 +++------ 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index 0acee52114..0cd155fb15 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2001-12-03 Jeffrey Stedfast + + * mail-ops.c (mail_send_message): Don't append "(Preview Version)" + at the end of the version string. Use the PREVIEW_RELEASE #define + instead. + 2001-12-03 Jeffrey Stedfast * folder-browser-ui.c: Setup the UI for the AddSenderToAddressbook diff --git a/mail/mail-ops.c b/mail/mail-ops.c index 54bc2dbbf8..b0a001301c 100644 --- a/mail/mail-ops.c +++ b/mail/mail-ops.c @@ -427,14 +427,11 @@ mail_send_message (CamelMimeMessage *message, const char *destination, char *transport_url = NULL; char *sent_folder_uri = NULL; CamelFolder *folder; - const char *version; XEvolution *xev; - if (SUB_VERSION[0] == '\0') - version = "Evolution/" VERSION " (Preview Release)"; - else - version = "Evolution/" VERSION SUB_VERSION " (Preview Release)"; - camel_medium_add_header (CAMEL_MEDIUM (message), "X-Mailer", version); + camel_medium_add_header (CAMEL_MEDIUM (message), "X-Mailer", + "Evolution/" VERSION SUB_VERSION PREVIEW_RELEASE); + camel_mime_message_set_date (message, CAMEL_MESSAGE_DATE_CURRENT, 0); xev = mail_tool_remove_xevolution_headers (message); -- cgit v1.2.3