[Kde-pim] Initializing IndexPolicyAttribute

Kevin Krammer kevin.krammer at gmx.at
Sun Dec 4 18:59:56 GMT 2011


On Sunday, 2011-12-04, Andras Mantia wrote:
> Kevin Krammer wrote:
> > Can you elaborate on this? I don't see any special mail collections use
> > in the patch.
> > 
> > Do you mean that for whatever reason the collection for the a special
> > IMAP folder is missing the respective attribute?
> 
> What I mean is that Inbox,Sent,Trash inside an IMAP resource is not marked
> as special collection. You can look at the attributes of the Inbox folder
> in akonadiconsole.
> So Akonadi::SpecialMailCollections::self()->defaultCollection(
> Akonadi::SpecialMailCollections::Inbox ); will return only the main Inbox
> for the local folder.
> As I see it is possible to register multiple collection as special ones,
> but this is not done atm.

I see.
Then we have to find a way to correctly set the special collections attribute.

I guess the IMAP resource could always set the Inbox folder as Inbox, the code 
handling identities should probably do the others.

Cheers,
Kevin

-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20111204/85542ca6/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/


More information about the kde-pim mailing list