diff options
author | Suman Manjunath <msuman@src.gnome.org> | 2008-01-14 14:55:23 +0800 |
---|---|---|
committer | Suman Manjunath <msuman@src.gnome.org> | 2008-01-14 14:55:23 +0800 |
commit | 7e97824087c693b979b975c9af4d3336e0d1895d (patch) | |
tree | 32d092fd59d9349d67077094dde88151e00b4d34 /composer | |
parent | 7e91445aeb4e135df59f362de4fbd3cb0349b64b (diff) | |
download | gsoc2013-evolution-7e97824087c693b979b975c9af4d3336e0d1895d.tar gsoc2013-evolution-7e97824087c693b979b975c9af4d3336e0d1895d.tar.gz gsoc2013-evolution-7e97824087c693b979b975c9af4d3336e0d1895d.tar.bz2 gsoc2013-evolution-7e97824087c693b979b975c9af4d3336e0d1895d.tar.lz gsoc2013-evolution-7e97824087c693b979b975c9af4d3336e0d1895d.tar.xz gsoc2013-evolution-7e97824087c693b979b975c9af4d3336e0d1895d.tar.zst gsoc2013-evolution-7e97824087c693b979b975c9af4d3336e0d1895d.zip |
Patch from <nickspoon0@gmail.com> ** Fix for bug #502783 (Restore states of 'Request Read Receipt' and 'Prioritize Message' when opening a draft message)
svn path=/trunk/; revision=34804
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; |