changeset 1662:88e72116639d

[gaim-migrate @ 1672] this is something that has bothered me committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 30 Mar 2001 10:50:06 +0000
parents 6cea395b627d
children 0f7d2284296f
files src/buddy.c
diffstat 1 files changed, 4 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/src/buddy.c	Fri Mar 30 10:27:16 2001 +0000
+++ b/src/buddy.c	Fri Mar 30 10:50:06 2001 +0000
@@ -1095,15 +1095,13 @@
 			b = (struct buddy *)type;
 			g = find_group_by_buddy(b->gc, b->name);
 			remove_buddy(b->gc, g, b);
+			gtk_ctree_remove_node(GTK_CTREE(edittree), node);
+			do_export( (GtkWidget *) NULL, 0 );
 		} else if (*type == EDIT_GROUP) {
 			remove_group(((struct group *)type)->gc, (struct group *)type);
+			gtk_ctree_remove_node(GTK_CTREE(edittree), node);
+			do_export( (GtkWidget *) NULL, 0 );
                 }
-                
-                build_edit_tree();
-
-        	// flush buddy list to cache
-
-        	do_export( (GtkWidget *) NULL, 0 );
 
         } else {
                 /* Nothing selected. */