~ubuntu-branches/ubuntu/karmic/kdepim/karmic-backports

« back to all changes in this revision

Viewing changes to debian/patches/kubuntu_03_restore_bcc_on_resend.diff

  • Committer: Bazaar Package Importer
  • Author(s): Jonathan Thomas, Jonathan Thomas, Jonathan Riddell
  • Date: 2009-09-14 17:50:51 UTC
  • Revision ID: james.westby@ubuntu.com-20090914175051-fouzg40tmwz2a1py
Tags: 4:4.3.1-0ubuntu3
[ Jonathan Thomas ]
* Update message indicator patches for libindicate 0.2 from 
  http://people.canonical.com/~agateau/indicate/index.html

[ Jonathan Riddell ]
* Add kubuntu_03_restore_bcc_on_resend.diff to make KMail include the BCC
  addresses while resending a message (BKO: #176590, LP: #222144)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Index: kdepim-4.3.1/kmail/kmcommands.cpp
 
2
===================================================================
 
3
--- kdepim-4.3.1.orig/kmail/kmcommands.cpp      2009-09-14 17:49:06.000000000 -0400
 
4
+++ kdepim-4.3.1/kmail/kmcommands.cpp   2009-09-14 17:50:04.000000000 -0400
 
5
@@ -2789,6 +2789,9 @@
 
6
   newMsg->setHeaderField( "X-KMail-Identity", QString::number( originalIdentity ) );
 
7
   newMsg->applyIdentity( originalIdentity );
 
8
 
 
9
+  // Restore the original bcc field as this is overwritten in applyIdentity
 
10
+  newMsg->setBcc( msg->bcc() );
 
11
+
 
12
   KMail::Composer * win = KMail::makeComposer();
 
13
   win->setMsg( newMsg, false, true );
 
14
   win->show();