evolution r34804 - trunk/composer
- From: msuman svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r34804 - trunk/composer
- Date: Mon, 14 Jan 2008 06:55:23 +0000 (GMT)
Author: msuman
Date: Mon Jan 14 06:55:23 2008
New Revision: 34804
URL: http://svn.gnome.org/viewvc/evolution?rev=34804&view=rev
Log:
Patch from <nickspoon0 gmail com> ** Fix for bug #502783 (Restore states of 'Request Read Receipt' and 'Prioritize Message' when opening a draft message)
Modified:
trunk/composer/ChangeLog
trunk/composer/e-msg-composer.c
Modified: trunk/composer/e-msg-composer.c
==============================================================================
--- trunk/composer/e-msg-composer.c (original)
+++ trunk/composer/e-msg-composer.c Mon Jan 14 06:55:23 2008
@@ -4625,6 +4625,16 @@
/* Remove any other X-Evolution-* headers that may have been set */
xev = mail_tool_remove_xevolution_headers (message);
camel_header_raw_clear(&xev);
+
+ /* Check for receipt request */
+ if (camel_medium_get_header(CAMEL_MEDIUM(message), "Disposition-Notification-To")) {
+ e_msg_composer_set_request_receipt (new, TRUE);
+ }
+
+ /* Check for mail priority */
+ if (camel_medium_get_header(CAMEL_MEDIUM(message), "X-Priority")) {
+ e_msg_composer_set_priority (new, TRUE);
+ }
/* set extra headers */
headers = CAMEL_MIME_PART (message)->headers;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]