[gaim-migrate @ 15919]

Tue, 21 Mar 2006 02:43:35 +0000

author
Daniel Atallah <datallah@pidgin.im>
date
Tue, 21 Mar 2006 02:43:35 +0000
changeset 13543
25f9c386270c
parent 13542
3b452b7fc7c3
child 13544
8c543836d8d9

[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.

src/gtkblist.c file | annotate | diff | comparison | revisions
--- 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) ||

mercurial