changeset 5189:be13157741ab

[gaim-migrate @ 5554] raise the buddy list on more sensible events committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Mon, 21 Apr 2003 04:47:15 +0000
parents f232875835a8
children 2974e17b3f45
files src/buddy.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/buddy.c	Sun Apr 20 22:58:33 2003 +0000
+++ b/src/buddy.c	Mon Apr 21 04:47:15 2003 +0000
@@ -1589,6 +1589,10 @@
 				   NODE_COLUMN, node,
 				   -1);
 
+		if (blist_options & OPT_BLIST_POPUP &&
+				((struct buddy *)node)->present == GAIM_BUDDY_SIGNING_OFF)
+			gtk_window_present(GTK_WINDOW(gtkblist->window));
+
 		g_free(mark);
 		if (idle)
 			g_free(idle);
@@ -1603,8 +1607,6 @@
 
 	} 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));
 	}
 	gtk_tree_view_columns_autosize(GTK_TREE_VIEW(gtkblist->treeview));