Bug 138241 - A patch that adds support for the Claws Mail MUA
Summary: A patch that adds support for the Claws Mail MUA
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-Generic-SendByMail (show other bugs)
Version: 5.6.0
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-02 11:08 UTC by Paul Mangan
Modified: 2018-03-23 12:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 0.1.0


Attachments
Patch against SVN to add support for Claws Mail MUA (2.46 KB, patch)
2006-12-02 11:09 UTC, Paul Mangan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Mangan 2006-12-02 11:08:21 UTC
Version:           SVN (using KDE KDE 3.5.5)
Installed from:    Debian testing/unstable Packages

Claws Mail is the new name for Sylpheed-Claws. The first release of Claws Mail will be made over the coming days.

Here is a patch against current SVN that adds support for Claws Mail.
Comment 1 Paul Mangan 2006-12-02 11:09:13 UTC
Created attachment 18752 [details]
Patch against SVN to add support for Claws Mail MUA
Comment 2 Paul Mangan 2007-01-05 10:34:41 UTC
Any news on this patch?
Comment 3 Michael Höchstetter 2007-02-12 00:11:40 UTC
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>"