comparison plugins/notify.c @ 3561:333551497ff8

[gaim-migrate @ 3655] Sorry for that. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Fri, 27 Sep 2002 03:34:54 +0000
parents cd938f18f3f8
children 154c4a9d9b6d
comparison
equal deleted inserted replaced
3560:b26ff17b506b 3561:333551497ff8
259 gchar buf[1000]; 259 gchar buf[1000];
260 FILE *fp; 260 FILE *fp;
261 261
262 snprintf(buf, 1000, "%s/.gaim/.notify", getenv("HOME")); 262 snprintf(buf, 1000, "%s/.gaim/.notify", getenv("HOME"));
263 if (!(fp = fopen(buf, "w"))) { 263 if (!(fp = fopen(buf, "w"))) {
264 do_eror_dialog(_("Unable to write to config file"), _("Notify plugin"), GAIM_ERROR); 264 do_error_dialog(_("Unable to write to config file"), _("Notify plugin"), GAIM_ERROR);
265 return; 265 return;
266 } 266 }
267 267
268 fprintf(fp, "%d=CHOICE\n", choice); 268 fprintf(fp, "%d=CHOICE\n", choice);
269 fprintf(fp, "%d=METHOD\n", method); 269 fprintf(fp, "%d=METHOD\n", method);