changeset 7003:687fafe937d6

[gaim-migrate @ 7559] fix some contact dragging weirdness that Robot101 noticed committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 29 Sep 2003 00:46:28 +0000
parents 57ea8be4ff4a
children 3b91c146567d
files src/blist.c
diffstat 1 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)) {