comparison src/buddy.c @ 5041:c4b691b0cc0d

[gaim-migrate @ 5385] some dragging fixes. hopefully kill off the last of the hangs and crashes associated with dragging buddies and editng the list committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sat, 05 Apr 2003 18:47:34 +0000
parents cb700c07ee07
children e40d52cffd51
comparison
equal deleted inserted replaced
5040:9af91af51192 5041:c4b691b0cc0d
1408 if(gtkblist->selected_node == node) 1408 if(gtkblist->selected_node == node)
1409 gtkblist->selected_node = NULL; 1409 gtkblist->selected_node = NULL;
1410 1410
1411 if (get_iter_from_node(node, &iter)) { 1411 if (get_iter_from_node(node, &iter)) {
1412 gtk_tree_store_remove(gtkblist->treemodel, &iter); 1412 gtk_tree_store_remove(gtkblist->treemodel, &iter);
1413 if(GAIM_BLIST_NODE_IS_BUDDY(node) && 1413 if(GAIM_BLIST_NODE_IS_BUDDY(node)) {
1414 !(blist_options & OPT_BLIST_SHOW_OFFLINE) && 1414 gaim_gtk_blist_update(list, node->parent);
1415 (blist_options & OPT_BLIST_NO_MT_GRP) &&
1416 !gaim_blist_get_group_online_count((struct group *)node->parent)) {
1417 GtkTreeIter groupiter;
1418 if(get_iter_from_node(node->parent, &groupiter))
1419 gtk_tree_store_remove(gtkblist->treemodel, &groupiter);
1420 } 1415 }
1421 } 1416 }
1422 } 1417 }
1423 1418
1424 static gboolean do_selection_changed(GaimBlistNode *new_selection) 1419 static gboolean do_selection_changed(GaimBlistNode *new_selection)