SF.net SVN: mahogany:[7538] trunk/M/src/gui/wxComposeView.cpp
[email protected] Thu, 07 Aug 2008 22:47:23 +0000
| Newsgroups | gmane.mail.mahogany.cvs |
|---|---|
| Message-ID | <[email protected]> |
Revision: 7538
http://mahogany.svn.sourceforge.net/mahogany/?rev=7538&view=rev
Author: vadz
Date: 2008-08-07 22:47:22 +0000 (Thu, 07 Aug 2008)
Log Message:
-----------
don't use default "To" header value for the replies/forwards, this is unnecessary if the message was sent by the default recipient and usually wrong when it wasn't
Modified Paths:
--------------
trunk/M/src/gui/wxComposeView.cpp
Modified: trunk/M/src/gui/wxComposeView.cpp
===================================================================
--- trunk/M/src/gui/wxComposeView.cpp 2008-08-07 22:25:09 UTC (rev 7537)
+++ trunk/M/src/gui/wxComposeView.cpp 2008-08-07 22:47:22 UTC (rev 7538)
@@ -2363,7 +2363,11 @@
AddBcc(READ_CONFIG(m_Profile, MP_COMPOSE_BCC));
AddCc(READ_CONFIG(m_Profile, MP_COMPOSE_CC));
- AddTo(READ_CONFIG(m_Profile, MP_COMPOSE_TO));
+ // it doesn't make sense to use the default recipient when replying (or if
+ // it does, we need a separate option for this because it's definitely
+ // inconvenient by default)
+ if ( m_kind == Message_New )
+ AddTo(READ_CONFIG(m_Profile, MP_COMPOSE_TO));
}
void
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/