[Kde-pim] [PATCH] Honor local (un)subscription of top-level folders
Ingo Klöcker
kloecker at kde.org
Mon Jan 21 23:19:53 GMT 2008
Hi,
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?
I suppose a similar patch has to be applied to kmailfolderimap.cpp.
Regards,
Ingo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: honorLocalSubscriptionForTopLevelFolders-2008-01-22-ik.diff
Type: text/x-diff
Size: 1091 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20080122/81819e4a/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20080122/81819e4a/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