Mercurial > pidgin
diff src/gaimrc.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 | af62169c74fd |
| children | 7e8524b5ff98 |
line wrap: on
line diff
--- a/src/gaimrc.c Sun May 18 19:13:21 2003 +0000 +++ b/src/gaimrc.c Sun May 18 19:59:02 2003 +0000 @@ -41,6 +41,7 @@ #include "sound.h" #include "pounce.h" #include "gtkpounce.h" +#include "notify.h" #ifdef _WIN32 #include "win32dep.h" @@ -1547,7 +1548,7 @@ } } else if (opt_rcfile_arg) { g_snprintf(buf, sizeof(buf), _("Could not open config file %s."), opt_rcfile_arg); - do_error_dialog(buf, NULL, GAIM_ERROR); + gaim_notify_error(NULL, NULL, buf, NULL); set_defaults(); } else { set_defaults(); @@ -1603,7 +1604,11 @@ "Error renaming %s to %s\n", filename_temp, filename); } else { fclose(f); - do_error_dialog(_("Unable to Save Preferences"), _("Gaim was unable to save your preferences. Please verify that you have enough free space."), GAIM_ERROR); + gaim_notify_error(NULL, NULL, + _("Unable to Save Preferences"), + _("Gaim was unable to save your preferences. " + "Please verify that you have enough " + "free space.")); } is_saving_prefs = 0; } else
