diff src/protocols/msn/msn.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 b18332105302
children 084147a0d9e4
line wrap: on
line diff
--- a/src/protocols/msn/msn.c	Sun May 18 19:13:21 2003 +0000
+++ b/src/protocols/msn/msn.c	Sun May 18 19:59:02 2003 +0000
@@ -56,8 +56,8 @@
 		alias = g_strdup(entry);
 
 	if (strlen(alias) >= BUDDY_ALIAS_MAXLEN) {
-		do_error_dialog(_("Your new MSN friendly name is too long."),
-						NULL, GAIM_ERROR);
+		gaim_notify_error(gc, NULL,
+						  _("Your new MSN friendly name is too long."), NULL);
 		return;
 	}
 
@@ -663,7 +663,7 @@
 			     "Perhaps you meant %s@hotmail.com. No changes were made "
 				 "to your allow list."), who);
 
-		do_error_dialog(_("Invalid MSN screenname"), buf, GAIM_ERROR);
+		gaim_notify_error(gc, NULL, _("Invalid MSN screenname"), buf);
 		gaim_privacy_permit_remove(gc->account, who);
 
 		return;
@@ -704,7 +704,7 @@
 			     "Perhaps you meant %s@hotmail.com. No changes were made "
 				 "to your block list."), who);
 
-		do_error_dialog(_("Invalid MSN screenname"), buf, GAIM_ERROR);
+		gaim_notify_error(gc, NULL, _("Invalid MSN screenname"), buf);
 
 		gaim_privacy_deny_remove(gc->account, who);