Review Request: (1/2) Improve groups expansion in contact list
Martin Klapetek
martin.klapetek at gmail.com
Wed Aug 15 08:20:05 UTC 2012
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/106024/
-----------------------------------------------------------
(Updated Aug. 15, 2012, 8:20 a.m.)
Review request for Telepathy.
Changes
-------
Separate the AccountsModel::IdRole and GroupsModel::GroupNameRole and only return default ID, not the name.
Description
-------
If the contact has no groups, it is placed into "Ungrouped" group. This is done when the group name is empty. However the group still needs some id in the model to properly handle the expanded/collapsed state, ie. you can't save an empty string into config file. The AccountsModel::IdRole & GroupsModel::GroupNameRole is not used anywhere in the UI, so the user won't see this. And returning this on the model level makes sure this group is actually not created on the server.
Diffs (updated)
-----
KTp/Models/groups-model-item.cpp c85ffbf
Diff: http://git.reviewboard.kde.org/r/106024/diff/
Testing
-------
Thanks,
Martin Klapetek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-telepathy/attachments/20120815/66dc57f0/attachment.html>
More information about the KDE-Telepathy
mailing list