[Kde-pim] [PATCH] distribution lists handling in kmail
Tobias Koenig
tokoe at kde.org
Thu Sep 13 19:04:28 BST 2007
Hi,
as there are two distribution list systems around in KDE-PIM 3.5
and enterprise we have to make sure that they are used equally
everywhere.
If not such strange bugs as the following can happen:
You write a mail to several people and use the option 'Save List...' in
the KMail composer window. This code _always_ uses KABC::DistributionList,
which means the distribution lists are stored under
$HOME/.kde/share/apps/kabc/distlist
Now you write a new mail, open the composer window, select the
previously saved distribution list and sent the mail.
However the code which expands the distribution list names to email
addresses uses KABC::DistributionList _xor_ KPIM::DistributionList,
depending on the compile options.
If you have KDEPIM_NEW_DISTRLIST set on, which is the case for the
KDE-PIM enterprise branch and, as it seems, also in the Mandriva
packages for 3.5, the KPIM::DistributionList is choosen for lookup,
which of course doesn't contains the previously saved distribution list
-> the lookup fails and a mail to MyDistrListName at domain.org is sent.
The attached patch fixes this by making storing the distribution list
depending on the compile options.
Ok for apply to 3.5 and enterprise branch?
Ciao,
Tobias
--
Separate politics from religion and economy!
The Council of the European Union is an undemocratic and illegal institution!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kmail_distlist.patch
Type: text/x-diff
Size: 2457 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20070913/d85b5bbb/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20070913/d85b5bbb/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