diff plugins/notify.c @ 3427:8fa61405af2b

[gaim-migrate @ 3453] Who never commits anything *now*, Etan? I changed most of the error message text around. If you think any of it should be different, just let me know, or send a patch. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Sun, 25 Aug 2002 10:51:24 +0000
parents 5a5df7968b6e
children 0202b5e1af69
line wrap: on
line diff
--- a/plugins/notify.c	Sun Aug 25 06:08:15 2002 +0000
+++ b/plugins/notify.c	Sun Aug 25 10:51:24 2002 +0000
@@ -21,6 +21,7 @@
 #include <X11/Xutil.h>
 #include <X11/Xatom.h>
 #include <gdk/gdkx.h>
+#include <errno.h>
 
 guint choice = 1;
 #define NOTIFY_FOCUS		0x00000001
@@ -257,7 +258,7 @@
 
 	snprintf(buf, 1000, "%s/.gaim/.notify", getenv("HOME"));
 	if (!(fp = fopen(buf, "w"))) {
-		do_error_dialog(_("Unable to write to config file"), _("Notify plugin"));
+		do_error_dialog(_("Unable to write notify plugin config file"), strerror(errno), GAIM_ERROR);
 		return;
 	}