aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-12-07 05:51:58 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-12-07 05:51:58 +0800
commit9b46a3eda439caa62d67c53a4939e0d420f6bccb (patch)
tree05d1cb027868f65e1a482fe3b37889cff721fc51 /mail
parenta1725df2bba552edf4489d8163800c35800b0863 (diff)
downloadgsoc2013-evolution-9b46a3eda439caa62d67c53a4939e0d420f6bccb.tar
gsoc2013-evolution-9b46a3eda439caa62d67c53a4939e0d420f6bccb.tar.gz
gsoc2013-evolution-9b46a3eda439caa62d67c53a4939e0d420f6bccb.tar.bz2
gsoc2013-evolution-9b46a3eda439caa62d67c53a4939e0d420f6bccb.tar.lz
gsoc2013-evolution-9b46a3eda439caa62d67c53a4939e0d420f6bccb.tar.xz
gsoc2013-evolution-9b46a3eda439caa62d67c53a4939e0d420f6bccb.tar.zst
gsoc2013-evolution-9b46a3eda439caa62d67c53a4939e0d420f6bccb.zip
Don't append "(Preview Version)" at the end of the version string. Use the
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. svn path=/trunk/; revision=14913
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-ops.c9
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);