[evolution/wip/gsettings] Set Date: when building a CamelMimeMessage in composer.



commit 20651e4f0970fb49d522bd8c49949d84f116560a
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sat Oct 30 22:08:48 2010 -0400

    Set Date: when building a CamelMimeMessage in composer.

 composer/e-msg-composer.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index faa99ac..6c6cd84 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -560,6 +560,9 @@ build_message_headers (EMsgComposer *composer,
 		e_destination_freev (bcc);
 	}
 
+	/* Date: */
+	camel_mime_message_set_date (message, CAMEL_MESSAGE_DATE_CURRENT, 0);
+
 	/* X-Evolution-PostTo: */
 	header = e_composer_header_table_get_header (
 		table, E_COMPOSER_HEADER_POST_TO);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]