[Kde-imaging] [Bug 138241] A patch that adds support for the Claws Mail MUA

Michael Höchstetter michael.hoechstetter at kdemail.net
Mon Feb 12 00:11:40 CET 2007


------- 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=138241         
michael.hoechstetter kdemail net changed:

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



------- Additional Comments From michael.hoechstetter kdemail net  2007-02-12 00:11 -------
SVN commit 632707 by hoechstetter:

BUG:138241;
Added a patch that adds support for the Claws Mail MUA by paul claws-mail org

 M  +6 -3      sendimages.cpp  
 M  +2 -0      sendimagesdialog.cpp  


--- trunk/extragear/libs/kipi-plugins/sendimages/sendimages.cpp #632706:632707
 @ -431,14 +431,17  @
             agentInvoked = true;
         }
     
-        // Sylpheed mail agent call.
+        // Claws Mail and Sylpheed mail agent call.
     
-        if ( m_sendImagesDialog->m_mailAgentName->currentText() == "Sylpheed" ||
+        if ( m_sendImagesDialog->m_mailAgentName->currentText() == "Claws Mail" ||
+	     m_sendImagesDialog->m_mailAgentName->currentText() == "Sylpheed" ||
              m_sendImagesDialog->m_mailAgentName->currentText() == "Sylpheed-Claws" )
         {
             m_mailAgentProc = new KProcess;
 
-            if ( m_sendImagesDialog->m_mailAgentName->currentText() == "Sylpheed")
+            if ( m_sendImagesDialog->m_mailAgentName->currentText() == "Claws Mail")
+               *m_mailAgentProc << "claws-mail";
+            else if ( m_sendImagesDialog->m_mailAgentName->currentText() == "Sylpheed")
                 *m_mailAgentProc << "sylpheed";
             else
                 *m_mailAgentProc << "sylpheed-claws";
--- trunk/extragear/libs/kipi-plugins/sendimages/sendimagesdialog.cpp #632706:632707
 @ -362,6 +362,7  @
     m_mailAgentName = new QComboBox( false, page_setupEmailOptions );
     m_mailAgentName->insertItem( "Default" );
     m_mailAgentName->insertItem( "Balsa" );
+    m_mailAgentName->insertItem( "Claws Mail" );
     m_mailAgentName->insertItem( "Evolution" );
     m_mailAgentName->insertItem( "GmailAgent" );
     m_mailAgentName->insertItem( "KMail" );
 @ -374,6 +375,7  @
     QWhatsThis::add( m_mailAgentName, i18n("<p>Select here your preferred external mail agent program."
                                            "These mail agent versions are supported:<p>"
                                            "<b>Balsa</b>: >= 2.x<p>"
+					   "<b>Claws Mail</b>: >= 2.6.1<p>"
                                            "<b>Evolution</b>: >= 1.4<p>"
                                            "<b>GmailAgent</b>: >= 0.2<p>"
                                            "<b>KMail</b>: >= 1.3<p>"


More information about the Kde-imaging mailing list