# HG changeset patch # User Daniel Atallah # Date 1142909015 0 # Node ID 2235ada6c74688ea694577e672d8155282f10913 # Parent 6818e4fc3616c78489c35002dc5b70c9a1fd6d39 [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 diff -r 6818e4fc3616 -r 2235ada6c746 src/gtkblist.c --- 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) ||