[Kde-pim] [PATCH] Honor local (un)subscription of top-level folders

Volker Krause vkrause at kde.org
Wed Jan 23 15:31:23 GMT 2008


On Tuesday 22 January 2008 00:19:53 Ingo Klöcker wrote:
> while checking whether GMail can be used as lightweight groupware
> server. I noticed that local subscription only works for non-top-level
> folders, i.e. all top-level folders were shown unconditionally and
> KMail started to sync my kde-commits folder (very bad idea!). The
> reason for this problem is that setHonorLocalSubscription( true ) is
> only called for the ListJobs of subfolders, but not when listing the
> top-level folders in the namespaces.
>
> The attached patch (or more precisely the second hunk) fixes the problem
> for me. Well, not completely because the inbox is still listed although
> I unsubscribed it. Is the patch correct? Should I commit?

Looks good to me and works here, so please commit. I looked into the inbox 
issue, but that's not easily doable I think, the inbox is assumed to exist in 
various places and apparently not even retrieved from the server (non-local 
unsubscription doesn't work either btw).

regards
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20080123/e54c6efb/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