Mercurial > pidgin
diff src/server.c @ 4770:c4c28874ecd3
[gaim-migrate @ 5088]
I want to go to sleep. This is drag-n-drop moving of buddies in the list.
I think it works, but I didn't actually test it... I really should have though;
I can't imagine it working fine as-is. ;)
I'm holding off on the rest of my Edit Buddy List stuff for tomorrow... I love
last minute things, don't I?
Note: I created gaim_blist_members and gaim_blist_groups to reproduce the
effects of the old groups GSList and the members GSList of the group struct
that I removed. This is really sub-optimal and should be replaced to iterate
the Buddy List directly. If someone wants to do that, please do. Even if you
don't want to do that, just review the changes I made and make sure I didn't
do anything stupid. It is past 6am and I'm a bit tired and prone to mistake
making.
Thanks.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Fri, 14 Mar 2003 11:38:21 +0000 |
parents | f6d83e81d45a |
children | 677d3cb193a1 |
line wrap: on
line diff
--- a/src/server.c Fri Mar 14 08:27:13 2003 +0000 +++ b/src/server.c Fri Mar 14 11:38:21 2003 +0000 @@ -393,11 +393,11 @@ GList *tobemoved = NULL; GSList *original; - for (original=old_group->members; original; original=g_slist_next(original)) { + /* for (original=old_group->members; original; original=g_slist_next(original)) { struct buddy *b = original->data; if(b->account == g->account) tobemoved = g_list_append(tobemoved, b->name); - } + } */ if (g->prpl->rename_group) { /* prpl's might need to check if the group already