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  <[EMAIL PROTECTED]> ** 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;
_______________________________________________
SVN-commits-list mailing list (read only)
http://mail.gnome.org/mailman/listinfo/svn-commits-list

Want to limit the commits to a few modules? Go to above URL, log in to edit 
your options and select the modules ('topics') you want.
Module maintainer? It is possible to set the reply-to to your development 
mailing list. Email [EMAIL PROTECTED] if interested.

Reply via email to