Mercurial > pidgin
diff src/conversation.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 | a6146cbae03b |
children | de09863bd4b5 |
line wrap: on
line diff
--- a/src/conversation.c Sun May 18 19:13:21 2003 +0000 +++ b/src/conversation.c Sun May 18 19:59:02 2003 +0000 @@ -31,6 +31,7 @@ #include "conversation.h" #include "gaim.h" #include "prpl.h" +#include "notify.h" #ifdef _WIN32 #include "win32dep.h" @@ -399,16 +400,16 @@ if (err < 0) { if (err == -E2BIG) { - do_error_dialog(_("Unable to send message. " - "The message is too large."), NULL, - GAIM_ERROR); + gaim_notify_error(NULL, NULL, + _("Unable to send message. The message is " + "too large."), NULL); } else if (err == -ENOTCONN) { gaim_debug(GAIM_DEBUG_ERROR, "conversation", "Not yet connected.\n"); } else { - do_error_dialog(_("Unable to send message."), NULL, GAIM_ERROR); + gaim_notify_error(NULL, NULL, _("Unable to send message."), NULL); } } else {