diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | 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,5 +1,11 @@ 2001-12-03 Jeffrey Stedfast <fejj@ximian.com> + * 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 <fejj@ximian.com> + * folder-browser-ui.c: Setup the UI for the AddSenderToAddressbook ui verb thingy. 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); |