diff src/server.c @ 5436:ad445074d239

[gaim-migrate @ 5818] Another big commit. Ugh. I need a very smart regexp. Core/UI split do_error_dialog(), and soon the mail dialogs! Yay! This should work without problems at all, but standard disclaimer.. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 18 May 2003 19:59:02 +0000
parents 2c4188300aba
children 7883082c290a
line wrap: on
line diff
--- a/src/server.c	Sun May 18 19:13:21 2003 +0000
+++ b/src/server.c	Sun May 18 19:59:02 2003 +0000
@@ -37,6 +37,7 @@
 #include "gaim.h"
 #include "sound.h"
 #include "pounce.h"
+#include "notify.h"
 
 void serv_login(struct gaim_account *account)
 {
@@ -51,7 +52,8 @@
 	if (prpl_info->login) {
 		if (!strlen(account->password) && !(prpl_info->options & OPT_PROTO_NO_PASSWORD) &&
 			!(prpl_info->options & OPT_PROTO_PASSWORD_OPTIONAL)) {
-			do_error_dialog(_("Please enter your password"), NULL, GAIM_ERROR);
+			gaim_notify_error(NULL, NULL,
+							  _("Please enter your password"), NULL);
 			return;
 		}
 
@@ -1138,7 +1140,7 @@
 			   gc->username,
 			   ((name == NULL)? _("an anonymous person") : name), lev);
 
-	do_error_dialog(buf2, NULL, GAIM_INFO);
+	gaim_notify_info(NULL, NULL, buf2, NULL);
 }
 
 void serv_got_typing(struct gaim_connection *gc, char *name, int timeout,