diff src/protocols/msn/notification.c @ 5326:9737d5ce9dcd

[gaim-migrate @ 5699] The progress bar on connect no longer jumps back, and it now displays "Retrieving buddy list," as requested by somebody (I forgot the name!) This looks a little nicer. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 07 May 2003 08:42:47 +0000
parents 29754a7d94e5
children b716ffc25d2d
line wrap: on
line diff
--- a/src/protocols/msn/notification.c	Wed May 07 04:36:32 2003 +0000
+++ b/src/protocols/msn/notification.c	Wed May 07 08:42:47 2003 +0000
@@ -181,7 +181,7 @@
 		return FALSE;
 	}
 
-	set_login_progress(gc, 3, _("Requesting to send password"));
+	set_login_progress(gc, 4, _("Requesting to send password"));
 
 	return TRUE;
 }
@@ -190,7 +190,8 @@
 __usr_cmd(MsnServConn *servconn, const char *command, const char **params,
 		  size_t param_count)
 {
-	struct gaim_connection *gc = servconn->session->account->gc;
+	MsnSession *session = servconn->session;
+	struct gaim_connection *gc = session->account->gc;
 	char outparams[MSN_BUF_LEN];
 
 	/* We're either getting the challenge or the OK. Let's find out. */
@@ -203,6 +204,8 @@
 
 			return FALSE;
 		}
+
+		set_login_progress(session->account->gc, 4, _("Retrieving buddy list"));
 	}
 	else {
 		/* Challenge */
@@ -1068,7 +1071,7 @@
 		return FALSE;
 	}
 
-	set_login_progress(session->account->gc, 2, _("Syncing with server"));
+	set_login_progress(session->account->gc, 4, _("Syncing with server"));
 
 	return TRUE;
 }