Mercurial > pidgin
changeset 13542:2235ada6c746
[gaim-migrate @ 15919]
When dropping a chat node onto a buddy node, always go after the contact the buddy is in. This fixes badness that happens when you drag a chat onto a buddy that is in an expanded contact.
committer: Tailor Script <tailor@pidgin.im>
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Tue, 21 Mar 2006 02:43:35 +0000 |
parents | 6818e4fc3616 |
children | d05d8bcabbfb |
files | src/gtkblist.c |
diffstat | 1 files changed, 1 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gtkblist.c Tue Mar 21 01:33:47 2006 +0000 +++ b/src/gtkblist.c Tue Mar 21 02:43:35 2006 +0000 @@ -1757,14 +1757,11 @@ switch(position) { case GTK_TREE_VIEW_DROP_AFTER: case GTK_TREE_VIEW_DROP_INTO_OR_AFTER: - gaim_blist_add_chat(chat, - (GaimGroup*)node->parent->parent, node); - break; case GTK_TREE_VIEW_DROP_BEFORE: case GTK_TREE_VIEW_DROP_INTO_OR_BEFORE: gaim_blist_add_chat(chat, (GaimGroup*)node->parent->parent, - node->prev); + node->parent); break; } } else if(GAIM_BLIST_NODE_IS_CONTACT(node) ||