changeset 2118:fa3dfde4727e

[gaim-migrate @ 2128] how fun. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 03 Aug 2001 17:43:35 +0000
parents 66975a759a52
children 02cbc4f76b77
files src/multi.c
diffstat 1 files changed, 10 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/src/multi.c	Fri Aug 03 16:39:12 2001 +0000
+++ b/src/multi.c	Fri Aug 03 17:43:35 2001 +0000
@@ -786,7 +786,6 @@
 void account_online(struct gaim_connection *gc)
 {
 	int i;
-	gboolean blist_existed;
 
 	/* first we hide the login progress meter */
 	if (gc->meter)
@@ -797,18 +796,24 @@
 	if (mainwindow)
 		gtk_widget_hide(mainwindow);
 
-	blist_existed = blist ? TRUE : FALSE;
-	show_buddy_list();
-	refresh_buddy_window();
 #ifdef USE_APPLET
 	if (general_options & OPT_GEN_APP_BUDDY_SHOW) {
+		show_buddy_list();
+		refresh_buddy_window();
 		createOnlinePopup();
 		applet_buddy_show = TRUE;
-	} else if (!blist_existed) {
+	} else if (!blist) {
+		show_buddy_list();
+		build_edit_tree();
 		gtk_widget_hide(blist);
 		applet_buddy_show = FALSE;
+	} else {
+		build_edit_tree();
 	}
 	set_user_state(online);
+#else
+	show_buddy_list();
+	refresh_buddy_window();
 #endif
 	setup_buddy_chats();