diff src/protocols/icq/gaim_icq.c @ 6106:99f4bbeb27bc

[gaim-migrate @ 6567] Fix Cae non-fatal bug 6: "no notification of incorrect password/name." Also removed some unused code from gtkconn.c and multi.c (which was derelict). Make dialog and request windows show the titles that are passed to them. Fixed a compiler warning coughsean'sawaymessagestuffcough I'm looking forward to writting a NEWS entry for 0.65, I hope it will be soon :-) committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Sun, 13 Jul 2003 09:34:48 +0000
parents fefad67de2c7
children 156e6643f9db
line wrap: on
line diff
--- a/src/protocols/icq/gaim_icq.c	Sun Jul 13 08:20:42 2003 +0000
+++ b/src/protocols/icq/gaim_icq.c	Sun Jul 13 09:34:48 2003 +0000
@@ -84,13 +84,13 @@
 	struct icq_data *id = (struct icq_data *)gc->proto_data;
 
 	if (!id->connected) {
-		hide_login_progress(gc, "Unable to connect");
+		gaim_connection_error(gc, "Unable to connect");
 		signoff(gc);
 		return;
 	}
 
 	if (icq_Connect(link, "icq.mirabilis.com", 4000) < 1) {
-		hide_login_progress(gc, "Unable to connect");
+		gaim_connection_error(gc, "Unable to connect");
 		signoff(gc);
 		return;
 	}
@@ -166,13 +166,13 @@
 
 static void icq_wrong_passwd(icq_Link *link) {
 	struct gaim_connection *gc = link->icq_UserData;
-	hide_login_progress(gc, "Invalid password.");
+	gaim_connection_error(gc, "Invalid password.");
 	signoff(gc);
 }
 
 static void icq_invalid_uin(icq_Link *link) {
 	struct gaim_connection *gc = link->icq_UserData;
-	hide_login_progress(gc, "Invalid UIN.");
+	gaim_connection_error(gc, "Invalid UIN.");
 	signoff(gc);
 }
 
@@ -341,7 +341,7 @@
 	icq_ContactClear(id->link);
 
 	if (icq_Connect(link, "icq.mirabilis.com", 4000) < 1) {
-		hide_login_progress(gc, _("Unable to connect"));
+		gaim_connection_error(gc, _("Unable to connect"));
 		signoff(gc);
 		return;
 	}
@@ -349,7 +349,7 @@
 	id->cur_status = STATUS_ONLINE;
 	icq_Login(link, STATUS_ONLINE);
 
-	set_login_progress(gc, 0, _("Connecting..."));
+	gaim_connection_update_progress(gc, _("Connecting..."), 0, 2);
 }
 
 static void icq_close(struct gaim_connection *gc) {