Index: trunk/src/buffer.c =================================================================== --- trunk/src/buffer.c (revision 5668) +++ trunk/src/buffer.c (revision 5669) @@ -169,11 +169,11 @@ return 1; if (elementlist_length(&PCB_PASTEBUFFER->Data->Element) == 0) { - pcb_message(PCB_MSG_DEFAULT, "Footprint %s contains no elements", name); + pcb_message(PCB_MSG_ERROR, "Footprint %s contains no elements", name); return 1; } if (elementlist_length(&PCB_PASTEBUFFER->Data->Element) > 1) { - pcb_message(PCB_MSG_DEFAULT, "Footprint %s contains multiple elements", name); + pcb_message(PCB_MSG_ERROR, "Footprint %s contains multiple elements", name); return 1; } @@ -391,13 +391,13 @@ int i; if (elementlist_length(&Buffer->Data->Element)) { - pcb_message(PCB_MSG_DEFAULT, _("You can't mirror a buffer that has elements!\n")); + pcb_message(PCB_MSG_ERROR, _("You can't mirror a buffer that has elements!\n")); return; } for (i = 0; i < pcb_max_copper_layer + 2; i++) { pcb_layer_t *layer = Buffer->Data->Layer + i; if (textlist_length(&layer->Text)) { - pcb_message(PCB_MSG_DEFAULT, _("You can't mirror a buffer that has text!\n")); + pcb_message(PCB_MSG_ERROR, _("You can't mirror a buffer that has text!\n")); return; } } @@ -760,7 +760,7 @@ case F_Save: if (elementlist_length(&PCB_PASTEBUFFER->Data->Element) == 0) { - pcb_message(PCB_MSG_DEFAULT, _("Buffer has no elements!\n")); + pcb_message(PCB_MSG_ERROR, _("Buffer has no elements!\n")); break; } free_name = pcb_false; Index: trunk/src/hid_cfg.c =================================================================== --- trunk/src/hid_cfg.c (revision 5668) +++ trunk/src/hid_cfg.c (revision 5669) @@ -189,7 +189,7 @@ const char *fn; int line, col; lht_dom_loc_active(doc, &fn, &line, &col); - pcb_message(PCB_MSG_DEFAULT, "Resource error: %s (%s:%d.%d)*\n", lht_err_str(err), filename, line+1, col+1); + pcb_message(PCB_MSG_ERROR, "Resource error: %s (%s:%d.%d)*\n", lht_err_str(err), filename, line+1, col+1); return 1; } @@ -293,7 +293,7 @@ sprintf(end, "pcb-menu-%s.lht", fn); doc = pcb_hid_cfg_load_lht(*p); if (doc != NULL) - pcb_message(PCB_MSG_DEFAULT, "Loaded menu file '%s'\n", *p); + pcb_message(PCB_MSG_INFO, "Loaded menu file '%s'\n", *p); } free(*p); } @@ -513,5 +513,5 @@ va_start(ap, fmt); end += vsprintf(end, fmt, ap); va_end(ap); - pcb_message(PCB_MSG_DEFAULT, hid_cfg_error_shared); + pcb_message(PCB_MSG_ERROR, hid_cfg_error_shared); } Index: trunk/src/obj_poly.c =================================================================== --- trunk/src/obj_poly.c (revision 5668) +++ trunk/src/obj_poly.c (revision 5669) @@ -502,7 +502,7 @@ struct mptlc d; if (PCB_FLAG_TEST(PCB_FLAG_LOCK, Polygon)) { - pcb_message(PCB_MSG_DEFAULT, _("Sorry, the object is locked\n")); + pcb_message(PCB_MSG_WARNING, _("Sorry, the object is locked\n")); return NULL; } if (((long int) ctx->move.dst_layer == -1) || (Layer == ctx->move.dst_layer)) Index: trunk/src/plug_import.c =================================================================== --- trunk/src/plug_import.c (revision 5668) +++ trunk/src/plug_import.c (revision 5669) @@ -89,7 +89,7 @@ FILE *fp; if (!filename) { - pcb_message(PCB_MSG_DEFAULT, "Error: need a file name for pcb_import_netlist()\n"); + pcb_message(PCB_MSG_ERROR, "Error: need a file name for pcb_import_netlist()\n"); return (1); /* nothing to do */ } fp = fopen(filename, "r"); @@ -97,11 +97,11 @@ plug = find_importer(aspect, fp, filename); if (plug == NULL) { if (fp != NULL) { - pcb_message(PCB_MSG_DEFAULT, "Error: can't find a suitable netlist parser for %s\n", filename); + pcb_message(PCB_MSG_ERROR, "Error: can't find a suitable netlist parser for %s\n", filename); fclose(fp); } else - pcb_message(PCB_MSG_DEFAULT, "Error: can't find a suitable netlist parser for %s - might be related: can't open %s for reading\n", filename, filename); + pcb_message(PCB_MSG_ERROR, "Error: can't find a suitable netlist parser for %s - might be related: can't open %s for reading\n", filename, filename); return 1; }