Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25587/src/gui

Modified Files:
        wxComposeView.cpp 
Log Message:
don't add default To header for replies, this is rarely desirable

Index: wxComposeView.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxComposeView.cpp,v
retrieving revision 1.385
retrieving revision 1.386
diff -b -u -2 -r1.385 -r1.386
--- wxComposeView.cpp   9 Apr 2005 11:21:18 -0000       1.385
+++ wxComposeView.cpp   13 May 2005 01:46:19 -0000      1.386
@@ -1959,4 +1959,7 @@
    SetDefaultFrom();
 
+   // don't add default "To:" header if this is a reply, this usually just
+   // results in address duplication
+   if ( m_kind != Message_Reply )
    AddTo(READ_CONFIG(m_Profile, MP_COMPOSE_TO));
    AddCc(READ_CONFIG(m_Profile, MP_COMPOSE_CC));



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates

Reply via email to