Update of /cvsroot/mahogany/M/src/classes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29841/src/classes
Modified Files:
ComposeTemplate.cpp
Log Message:
show the message in the viewer before replying to it: this is a hack but it restores
the functionality broken by yesterday changes without losing the ability to reply to
PGP-signed/encrypted messages introduced yesterday
Index: ComposeTemplate.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/ComposeTemplate.cpp,v
retrieving revision 1.66
retrieving revision 1.67
diff -b -u -2 -r1.66 -r1.67
--- ComposeTemplate.cpp 12 Jul 2004 20:53:20 -0000 1.66
+++ ComposeTemplate.cpp 14 Jul 2004 16:11:28 -0000 1.67
@@ -1590,4 +1590,13 @@
const MessageView *msgview)
{
+ // we need to show text in the message view to be able to quote it
+ if ( msg && msgview )
+ {
+ const_cast<MessageView *>(msgview)->ShowMessage(msg->GetUId());
+
+ // needed for the message to appear in the message view (FIXME)
+ MEventManager::DispatchPending();
+ }
+
ExpansionSink sink;
VarExpander expander(sink, cv, profile, msg, msgview);
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Mahogany-cvsupdates mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates