src/buddy.c

changeset 4767
c212c2738d77
parent 4758
669aa3d57680
child 4770
be590660a9c2
--- a/src/buddy.c	Fri Mar 14 07:04:46 2003 +0000
+++ b/src/buddy.c	Fri Mar 14 08:10:17 2003 +0000
@@ -1120,12 +1120,15 @@
 
 					expand = TRUE;
 				}
-
+				
 				oldersibling = node->prev;
 				while (oldersibling && !get_iter_from_node(oldersibling, &oldersiblingiter))
 					oldersibling = oldersibling->prev;
 
 				gtk_tree_store_insert_after(gtkblist->treemodel, &iter, &groupiter, oldersibling ? &oldersiblingiter : NULL);
+				
+				if (blist_options & OPT_BLIST_POPUP)
+					gtk_window_present(GTK_WINDOW(gtkblist->window));
 
 				if (expand) {       /* expand was set to true if this is the first element added to a group.  In such case
 						     * we expand the group node */
@@ -1204,6 +1207,8 @@
 
 	} else if (GAIM_BLIST_NODE_IS_BUDDY(node) && !new_entry) {
 		gaim_gtk_blist_remove(list, node);
+		if (blist_options & OPT_BLIST_POPUP)
+			gtk_window_present(GTK_WINDOW(gtkblist->window));
 	}
 }
 

mercurial