Mercurial > pidgin
comparison plugins/msn/msn.c @ 1279:8947583de4a1
[gaim-migrate @ 1289]
The progress bar on signon works :-D
committer: Tailor Script <tailor@pidgin.im>
author | Rob Flynn <gaim@robflynn.com> |
---|---|
date | Thu, 14 Dec 2000 19:46:10 +0000 |
parents | b319e507a36a |
children | 577b71ae4e2a |
comparison
equal
deleted
inserted
replaced
1278:b319e507a36a | 1279:8947583de4a1 |
---|---|
488 return; | 488 return; |
489 } | 489 } |
490 | 490 |
491 g_snprintf(buf, sizeof(buf), "Signon: %s", gc->username); | 491 g_snprintf(buf, sizeof(buf), "Signon: %s", gc->username); |
492 set_login_progress(gc, 2, buf); | 492 set_login_progress(gc, 2, buf); |
493 while (gtk_events_pending()) | |
494 gtk_main_iteration(); | |
493 | 495 |
494 /* This is where we will attempt to sign on */ | 496 /* This is where we will attempt to sign on */ |
495 g_snprintf(buf, 4096, "VER %d %s\n", trId, mdata->protocol); | 497 g_snprintf(buf, 4096, "VER %d %s\n", trId, mdata->protocol); |
496 write(mdata->fd, buf, strlen(buf)); | 498 write(mdata->fd, buf, strlen(buf)); |
497 | 499 |
601 signoff(gc); | 603 signoff(gc); |
602 return; | 604 return; |
603 | 605 |
604 } | 606 } |
605 set_login_progress(gc, 3, "Getting Config"); | 607 set_login_progress(gc, 3, "Getting Config"); |
608 while (gtk_events_pending()) | |
609 gtk_main_iteration(); | |
610 | |
606 g_snprintf(buf, 4096, "SYN %d 0\n", trId); | 611 g_snprintf(buf, 4096, "SYN %d 0\n", trId); |
607 write(mdata->fd, buf, strlen(buf)); | 612 write(mdata->fd, buf, strlen(buf)); |
608 | 613 |
609 /* Go online */ | 614 /* Go online */ |
610 g_snprintf(buf, 4096, "CHG %d NLN\n", trId); | 615 g_snprintf(buf, 4096, "CHG %d NLN\n", trId); |