diff options
Diffstat (limited to 'composer')
-rw-r--r-- | composer/ChangeLog | 9 | ||||
-rw-r--r-- | composer/e-msg-composer.c | 10 |
2 files changed, 19 insertions, 0 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog index 78ffb87d10..07a13f0104 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,12 @@ +2008-01-14 Suman Manjunath <msuman@novell.com> + + ** Fix for bug #502783 + ** Patch from <nickspoon0@gmail.com> + + * e-msg-composer.c: (e_msg_composer_new_with_message): Restore states + of 'Request Read Receipt' and 'Prioritize Message' when opening a + draft message. + 2008-01-06 Michael Monreal <michael.monreal@gmx.net> ** Fix for bug #492188 diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index ad049994ba..fccbf60e74 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -4625,6 +4625,16 @@ e_msg_composer_new_with_message (CamelMimeMessage *message) /* 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; |