Forwardport SVN commit 685966 by vkrause:

Allow all DIMAP folders as filter sources (Kolab issue 1715).

svn path=/trunk/KDE/kdepim/; revision=685989
wilder-work
Volker Krause 19 years ago
parent 4120504255
commit 770cf1e7b9
  1. 5
      kmail.kcfg
  2. 2
      kmfoldercachedimap.cpp

@ -219,6 +219,11 @@
<whatsthis>&lt;p&gt;If you want to set the folder names of the IMAP storage to your local language, you can choose between these available languages.&lt;/p&gt;&lt;p&gt; Please note, that the only reason to do so is for compatibility with Microsoft Outlook. It is considered a bad idea to set this, since it makes changing languages impossible. &lt;/p&gt;&lt;p&gt;So do not set this unless you have to.&lt;/p&gt;</whatsthis>
<default>0</default>
</entry>
<entry name="FilterOnlyDIMAPInbox" type="Bool">
<default>true</default>
<label>Only filter mails received in disconnected IMAP inbox.</label>
</entry>
</group>
<group name="Internal">

@ -452,7 +452,7 @@ int KMFolderCachedImap::addMsgInternal( KMMessage *msg, bool newMail, int *index
// Add the message
int rc = KMFolderMaildir::addMsg( msg, index_return );
if ( newMail && imapPath() == "/INBOX/" ) {
if ( newMail && (imapPath() == "/INBOX/" || !GlobalSettings::self()->filterOnlyDIMAPInbox()) ) {
// This is a new message. Filter it
mAccount->processNewMsg( msg );
}

Loading…
Cancel
Save