I have made a patch for signalling from the daemon to plugins when groups are being added, removed, renamed, or reordered. Since there is no good group identification (as it was discussed with Anders in irc), plugins are only able to tell what happened with groups but cannot tell which exact group(s) the action was performed upon. This has to be discussed further. Therefore, the daemon patch in attachment is pretty simple.

As for the qt4-gui patch, it simply made internal model, edit group dialog, and mainwin elements to be up-to-date with the group list. Some overhead was removed, some added. E.g. mainWindow()->updateGroups() calls contactList()->reloadAll() itself so there was no need to call one after the other in group menu. Further model improvement of model behavior when group list change is signalled has to be discussed.

All this partially addresses the 'Group Handling' point in developer's wishlist.

Jon, please comment on the daemon patch.
Anders, please comment on qt4-gui patch.

--
Eugene Paskevich             |   *==)-----------   |     Plug me into
[EMAIL PROTECTED]        |   -----------(==*   |      The Matrix

Attachment: licq_groups_sig_daemon.patch
Description: Binary data

Attachment: licq_groups_sig_qt4-gui.patch
Description: Binary data

Reply via email to