diff src/gtkutils.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 2c4c975620f0
line wrap: on
line diff
--- a/src/gtkutils.c	Sun May 18 19:13:21 2003 +0000
+++ b/src/gtkutils.c	Sun May 18 19:59:02 2003 +0000
@@ -46,6 +46,7 @@
 #include <gdk/gdkkeysyms.h>
 #include "prpl.h"
 #include "ui.h"
+#include "notify.h"
 
 #ifdef _WIN32
 #include "wspell.h"
@@ -279,8 +280,8 @@
 
 		fclose(file);
 	} else {
-		do_error_dialog("Can't save icon file to disk",
-						strerror(errno), GAIM_ERROR);
+		gaim_notify_error(NULL, NULL,
+						  _("Can't save icon file to disk."), NULL);
 	}
 
 	gtk_widget_destroy(gtkconv->u.im->save_icon);