evolution r34805 - branches/gnome-2-20/composer
- From: msuman svn gnome org
- To: svn-commits-list gnome org
- Subject: evolution r34805 - branches/gnome-2-20/composer
- Date: Mon, 14 Jan 2008 07:02:52 +0000 (GMT)
Author: msuman
Date: Mon Jan 14 07:02:51 2008
New Revision: 34805
URL: http://svn.gnome.org/viewvc/evolution?rev=34805&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:
branches/gnome-2-20/composer/ChangeLog
branches/gnome-2-20/composer/e-msg-composer.c
Modified: branches/gnome-2-20/composer/e-msg-composer.c
==============================================================================
--- branches/gnome-2-20/composer/e-msg-composer.c (original)
+++ branches/gnome-2-20/composer/e-msg-composer.c Mon Jan 14 07:02:51 2008
@@ -4728,6 +4728,16 @@
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;
while (headers) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]