[gaim-migrate @ 7559]

Mon, 29 Sep 2003 00:46:28 +0000

author
Nathan Walp <nwalp@pidgin.im>
date
Mon, 29 Sep 2003 00:46:28 +0000
changeset 7003
f386c83fdf52
parent 7002
ffa26eb4420c
child 7004
744d32e2ec5b

[gaim-migrate @ 7559]
fix some contact dragging weirdness that Robot101 noticed

src/blist.c file | annotate | diff | comparison | revisions
--- a/src/blist.c	Mon Sep 29 00:11:05 2003 +0000
+++ b/src/blist.c	Mon Sep 29 00:46:28 2003 +0000
@@ -687,9 +687,12 @@
 			g_free(hb);
 		}
 
-		if(!bnode->parent->child)
+		if(!bnode->parent->child) {
 			gaim_blist_remove_contact((GaimContact*)bnode->parent);
-
+		} else {
+			gaim_contact_compute_priority_buddy((GaimContact*)bnode->parent);
+			ops->update(gaimbuddylist, bnode->parent);
+		}
 	}
 
 	if(node && GAIM_BLIST_NODE_IS_BUDDY(node)) {

mercurial