Mercurial > pidgin
diff src/log.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 | 1f901484599d |
children | c72213437829 |
line wrap: on
line diff
--- a/src/log.c Sun May 18 19:13:21 2003 +0000 +++ b/src/log.c Sun May 18 19:59:02 2003 +0000 @@ -15,6 +15,7 @@ #include "core.h" #include "multi.h" #include "prpl.h" +#include "notify.h" #include <string.h> #include <sys/stat.h> #include <unistd.h> @@ -158,7 +159,7 @@ if (res < 0) { g_snprintf(buf, BUF_LONG, _("Unable to make directory %s for logging"), log_all_file); - do_error_dialog(buf, NULL, GAIM_ERROR); + gaim_notify_error(NULL, NULL, buf, NULL); g_free(buf); g_free(buf2); return NULL; @@ -179,7 +180,7 @@ if (res < 0) { g_snprintf(buf, BUF_LONG, _("Unable to make directory %s for logging"), log_all_file); - do_error_dialog(buf, NULL, GAIM_ERROR); + gaim_notify_error(NULL, NULL, buf, NULL); g_free(buf); g_free(buf2); return NULL; @@ -191,7 +192,7 @@ if( _mkdir(log_all_file) < 0 && errno != EEXIST ) { g_snprintf(buf, BUF_LONG, _("Unable to make directory %s for logging"), log_all_file); - do_error_dialog(buf, NULL, GAIM_ERROR); + gaim_notify_error(NULL, NULL, buf, NULL); g_free(buf); g_free(buf2); return NULL;