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

List:       kmail-devel
Subject:    [Bug 65263] The "send again" menu entry is always disabled
From:       Till Adam <adam () kde ! org>
Date:       2003-10-19 14:56:19
[Download RAW message or body]

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
     
http://bugs.kde.org/show_bug.cgi?id=65263     
adam@kde.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From adam@kde.org  2003-10-19 16:56 -------
Subject: kdepim/kmail

CVS commit by tilladam: 

Allow the send-again action not only for mails that have the sent flag, 
but also for all mails in draft, oubox or sent-mail folders.

CCMAIL: 65263-done@bugs.kde.org


  M +4 -2      kmmainwidget.cpp   1.98


--- kdepim/kmail/kmmainwidget.cpp  #1.97:1.98
@@ -2764,6 +2764,8 @@ void KMMainWidget::updateMessageActions(
 
     mSendAgainAction->setEnabled( single_actions &&
-          mHeaders->currentMsg() &&
-          mHeaders->currentMsg()->isSent() );
+             ( mHeaders->currentMsg() && mHeaders->currentMsg()->isSent() )
+          || ( mFolder && kmkernel->folderIsDraftOrOutbox( mFolder ) )
+          || ( mFolder && kmkernel->folderIsSentMailFolder( mFolder ) )
+             );
     mSaveAsAction->setEnabled( mass_actions );
     bool mails = mFolder && mFolder->count();
_______________________________________________
KMail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail
[prev in list] [next in list] [prev in thread] [next in thread] 

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