comparison src/blist.c @ 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 7db9b3020345
children feb3d21a7794
comparison
equal deleted inserted replaced
7002:57ea8be4ff4a 7003:687fafe937d6
685 hb->group = bnode->parent->parent; 685 hb->group = bnode->parent->parent;
686 g_hash_table_remove(gaimbuddylist->buddies, hb); 686 g_hash_table_remove(gaimbuddylist->buddies, hb);
687 g_free(hb); 687 g_free(hb);
688 } 688 }
689 689
690 if(!bnode->parent->child) 690 if(!bnode->parent->child) {
691 gaim_blist_remove_contact((GaimContact*)bnode->parent); 691 gaim_blist_remove_contact((GaimContact*)bnode->parent);
692 692 } else {
693 gaim_contact_compute_priority_buddy((GaimContact*)bnode->parent);
694 ops->update(gaimbuddylist, bnode->parent);
695 }
693 } 696 }
694 697
695 if(node && GAIM_BLIST_NODE_IS_BUDDY(node)) { 698 if(node && GAIM_BLIST_NODE_IS_BUDDY(node)) {
696 if(node->next) 699 if(node->next)
697 node->next->prev = bnode; 700 node->next->prev = bnode;