diff src/toc.c @ 1002:1d8f05ea6bdf

[gaim-migrate @ 1012] i don't even remember what happened. all good things, i hope committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 18 Oct 2000 02:38:18 +0000
parents 91b7377e7b45
children e1e36f95af9a
line wrap: on
line diff
--- a/src/toc.c	Mon Oct 16 20:14:18 2000 +0000
+++ b/src/toc.c	Wed Oct 18 02:38:18 2000 +0000
@@ -40,7 +40,7 @@
 #include "gaim.h"
 #include "gnome_applet_mgr.h"
 
-#define REVISION "gaim:$Revision: 1010 $"
+#define REVISION "gaim:$Revision: 1012 $"
 
 struct toc_data {
 	int toc_fd;
@@ -136,33 +136,17 @@
 	while (gtk_events_pending())
 		gtk_main_iteration();
 
+	serv_finish_login(gc);
+	account_online(gc);
+
 	config = toc_wait_config(gc);
 	tdt->state = STATE_ONLINE;
 
-	if (mainwindow)
-		gtk_widget_hide(mainwindow);
-	show_buddy_list();
-#ifdef USE_APPLET
-	if (general_options & OPT_GEN_APP_BUDDY_SHOW) {
-		refresh_buddy_window();
-		createOnlinePopup();
-                applet_buddy_show = TRUE;
-        } else {
-                gtk_widget_hide(blist);
-                applet_buddy_show = FALSE;
-        }
-
-	set_user_state(online);
-#else
-	refresh_buddy_window();
-#endif
 	if (config != NULL)
 		parse_toc_buddy_list(gc, config, 0);
 	else
 		do_import(0, gc);
         
-	setup_buddy_chats();
-
 	g_snprintf(buf2, sizeof(buf2), "toc_init_done");
 	sflap_send(gc, buf2, -1, TYPE_DATA);
 
@@ -173,9 +157,6 @@
 
 	if (gc->keepalive < 0)
 		update_keepalive(gc, gc->options & OPT_USR_KEEPALV);
-
-	serv_finish_login(gc);
-	gaim_setup(gc);
 }
 
 void toc_close(struct gaim_connection *gc)