[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdepim/kmail
From:       Till Adam <adam () kde ! org>
Date:       2004-10-22 20:47:24
Message-ID: 20041022204724.0351F16C0E () office ! kde ! org
[Download RAW message or body]

CVS commit by tilladam: 

Respect autosend for acceptance mails.


  M +6 -7      callback.cpp   1.17


--- kdepim/kmail/callback.cpp  #1.16:1.17
@@ -93,11 +93,10 @@ bool Callback::mailICal( const QString& 
   //cWin->mNeverEncrypt = true;
 
-  // This is commented out, since there is no other visual indication of
-  // the fact that a message has been sent. Also, there is no way
-  // to delete the mail and the composer window :-(
-  // TODO: Fix this somehow. Difficult because of the async readerwindow
-  // cWin->slotSendNow();
-  // Instead, we do this for now:
+  if ( options.readBoolEntry( "AutomaticSending", true ) ) {
+    cWin->setAutoDeleteWindow(  true );
+    cWin->slotSendNow();
+  } else {
   cWin->show();
+  }
 
   return true;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic