| 445 static char *show_error_message() |
445 static char *show_error_message() |
| 446 { |
446 { |
| 447 int no = atoi(strtok(NULL, ":")); |
447 int no = atoi(strtok(NULL, ":")); |
| 448 char *w = strtok(NULL, ":"); |
448 char *w = strtok(NULL, ":"); |
| 449 static char buf[256]; |
449 static char buf[256]; |
| 450 |
|
| 451 plugin_event(event_error, (void *)no, 0, 0, 0); |
|
| 452 |
450 |
| 453 switch(no) { |
451 switch(no) { |
| 454 case 69: |
452 case 69: |
| 455 g_snprintf(buf, sizeof(buf), _("Unable to write file %s."), w); |
453 g_snprintf(buf, sizeof(buf), _("Unable to write file %s."), w); |
| 456 break; |
454 break; |