changeset 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 d55aad6e05d9
files plugins/msn/msn.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/msn/msn.c	Thu Dec 14 19:40:47 2000 +0000
+++ b/plugins/msn/msn.c	Thu Dec 14 19:46:10 2000 +0000
@@ -490,6 +490,8 @@
 	
 	g_snprintf(buf, sizeof(buf), "Signon: %s", gc->username);
 	set_login_progress(gc, 2, buf);
+	while (gtk_events_pending())
+		gtk_main_iteration();
 
 	/* This is where we will attempt to sign on */
 	g_snprintf(buf, 4096, "VER %d %s\n", trId, mdata->protocol);
@@ -603,6 +605,9 @@
 
 	}
 	set_login_progress(gc, 3, "Getting Config");
+	while (gtk_events_pending())
+		gtk_main_iteration();
+
 	g_snprintf(buf, 4096, "SYN %d 0\n", trId);
 	write(mdata->fd, buf, strlen(buf));