diff src/protocols/yahoo/yahoo.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 fc0441fbf159
children 3e8487580024
line wrap: on
line diff
--- a/src/protocols/yahoo/yahoo.c	Sun May 18 19:13:21 2003 +0000
+++ b/src/protocols/yahoo/yahoo.c	Sun May 18 19:59:02 2003 +0000
@@ -446,7 +446,7 @@
 		case 60: /* no clue */
 			 break;
 		case 16: /* Custom error message */
-			do_error_dialog(pair->value, NULL, GAIM_ERROR);
+			gaim_notify_error(gc, NULL, pair->value, NULL);
 			break;
 		default:
 			gaim_debug(GAIM_DEBUG_ERROR, "yahoo",
@@ -601,7 +601,8 @@
 		msg[j] = 0;
 		serv_got_im(gc, from, g_strdup(msg), 0, tm, -1);
 	} else if (pkt->status == 2) {
-		do_error_dialog(_("Your Yahoo! message did not get sent."), NULL, GAIM_ERROR);
+		gaim_notify_error(gc, NULL,
+						  _("Your Yahoo! message did not get sent."), NULL);
 	}
 }