changeset 2117:66975a759a52

[gaim-migrate @ 2127] whoops. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 03 Aug 2001 16:39:12 +0000
parents 6402958c64c9
children fa3dfde4727e
files src/multi.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/multi.c	Fri Aug 03 10:27:45 2001 +0000
+++ b/src/multi.c	Fri Aug 03 16:39:12 2001 +0000
@@ -786,6 +786,7 @@
 void account_online(struct gaim_connection *gc)
 {
 	int i;
+	gboolean blist_existed;
 
 	/* first we hide the login progress meter */
 	if (gc->meter)
@@ -796,13 +797,14 @@
 	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) {
 		createOnlinePopup();
 		applet_buddy_show = TRUE;
-	} else if (!blist) {
+	} else if (!blist_existed) {
 		gtk_widget_hide(blist);
 		applet_buddy_show = FALSE;
 	}