comparison src/protocols/toc/toc.c @ 2382:569ae9f2bb89

[gaim-migrate @ 2395] big reorg of code. list.c contains 0 gtk. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 28 Sep 2001 07:46:36 +0000
parents db02399a9ad7
children b72143059ad4
comparison
equal deleted inserted replaced
2381:427ccd7dfdd2 2382:569ae9f2bb89
545 tdt->state = STATE_ONLINE; 545 tdt->state = STATE_ONLINE;
546 546
547 account_online(gc); 547 account_online(gc);
548 serv_finish_login(gc); 548 serv_finish_login(gc);
549 549
550 do_import(0, gc); 550 do_import(gc, NULL);
551 551
552 /* Client sends TOC toc_init_done message */ 552 /* Client sends TOC toc_init_done message */
553 debug_printf("* Client sends TOC toc_init_done message\n"); 553 debug_printf("* Client sends TOC toc_init_done message\n");
554 g_snprintf(snd, sizeof snd, "toc_init_done"); 554 g_snprintf(snd, sizeof snd, "toc_init_done");
555 sflap_send(gc, snd, -1, TYPE_DATA); 555 sflap_send(gc, snd, -1, TYPE_DATA);
580 if (sflap_send(gc, snd, -1, TYPE_DATA) < 0) { 580 if (sflap_send(gc, snd, -1, TYPE_DATA) < 0) {
581 hide_login_progress(gc, _("Disconnected.")); 581 hide_login_progress(gc, _("Disconnected."));
582 signoff(gc); 582 signoff(gc);
583 return; 583 return;
584 } 584 }
585 do_import(0, gc); 585 do_import(gc, NULL);
586 g_snprintf(snd, sizeof snd, "toc_init_done"); 586 g_snprintf(snd, sizeof snd, "toc_init_done");
587 sflap_send(gc, snd, -1, TYPE_DATA); 587 sflap_send(gc, snd, -1, TYPE_DATA);
588 do_error_dialog(_("TOC has come back from its pause. You may now send" 588 do_error_dialog(_("TOC has come back from its pause. You may now send"
589 " messages again."), _("TOC Resume")); 589 " messages again."), _("TOC Resume"));
590 } 590 }