Mercurial > pidgin.yaz
diff src/gtkft.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 | 71927464a1db |
children | cce2d7868c78 |
line wrap: on
line diff
--- a/src/gtkft.c Sun May 18 19:13:21 2003 +0000 +++ b/src/gtkft.c Sun May 18 19:59:02 2003 +0000 @@ -28,6 +28,7 @@ #include <string.h> #include "gtkcellrendererprogress.h" #include "gaim-disclosure.h" +#include "notify.h" #define GAIM_GTKXFER(xfer) \ (struct gaim_gtkxfer_ui_data *)(xfer)->ui_data @@ -1006,14 +1007,15 @@ gaim_xfer_request_accepted(xfer, g_strdup(name)); } else { - do_error_dialog(_("That file does not exist."), - NULL, GAIM_ERROR); + gaim_notify_error(NULL, NULL, + _("That file does not exist."), NULL); gaim_xfer_request_denied(xfer); } } else if ((gaim_xfer_get_type(xfer) == GAIM_XFER_SEND) && (st.st_size == 0)) { - do_error_dialog(_("Can not send a file of 0 bytes."), NULL, GAIM_ERROR); + gaim_notify_error(NULL, NULL, + _("Cannot send a file of 0 bytes."), NULL); gaim_xfer_request_denied(xfer); }