Index: trunk/src/hid_flags.c =================================================================== --- trunk/src/hid_flags.c (revision 5666) +++ trunk/src/hid_flags.c (revision 5667) @@ -34,7 +34,7 @@ int len, multiarg; len = cp - name; if (len > sizeof(buff)-1) { - pcb_message(PCB_MSG_DEFAULT, "hid_get_flag: action name too long: %s()\n", name); + pcb_message(PCB_MSG_ERROR, "hid_get_flag: action name too long: %s()\n", name); return -1; } memcpy(buff, name, len); @@ -41,7 +41,7 @@ buff[len] = '\0'; a = pcb_hid_find_action(buff); if (!a) { - pcb_message(PCB_MSG_DEFAULT, "hid_get_flag: no action %s\n", name); + pcb_message(PCB_MSG_ERROR, "hid_get_flag: no action %s\n", name); return -1; } cp++; @@ -59,7 +59,7 @@ if (!multiarg) { /* faster but limited way for a single arg */ if ((len > sizeof(buff)-1) || (end == NULL)) { - pcb_message(PCB_MSG_DEFAULT, "hid_get_flag: action arg too long or unterminated: %s\n", name); + pcb_message(PCB_MSG_ERROR, "hid_get_flag: action arg too long or unterminated: %s\n", name); return -1; } len = end - cp; Index: trunk/src/main.c =================================================================== --- trunk/src/main.c (revision 5666) +++ trunk/src/main.c (revision 5667) @@ -505,7 +505,7 @@ pcb_hid_actionl("ExecuteFile", conf_core.rc.script_filename, NULL); } if (conf_core.rc.action_string) { - pcb_message(PCB_MSG_DEFAULT, _("Executing startup action %s\n"), conf_core.rc.action_string); + pcb_message(PCB_MSG_INFO, _("Executing startup action %s\n"), conf_core.rc.action_string); pcb_hid_parse_actions(conf_core.rc.action_string); } Index: trunk/src/netlist_act.c =================================================================== --- trunk/src/netlist_act.c (revision 5666) +++ trunk/src/netlist_act.c (revision 5667) @@ -59,7 +59,7 @@ int le, lp; if (next > 2) { - pcb_message(PCB_MSG_DEFAULT, "Exactly two pins should be selected for swap (more than 2 selected at the moment)\n"); + pcb_message(PCB_MSG_ERROR, "Exactly two pins should be selected for swap (more than 2 selected at the moment)\n"); goto quit; } @@ -75,7 +75,7 @@ PCB_END_LOOP; if (next < 2) { - pcb_message(PCB_MSG_DEFAULT, "Exactly two pins should be selected for swap (less than 2 selected at the moment)\n"); + pcb_message(PCB_MSG_ERROR, "Exactly two pins should be selected for swap (less than 2 selected at the moment)\n"); goto quit; } @@ -83,11 +83,11 @@ nets[0] = pcb_netlist_find_net4pinname(PCB, pins[0]); nets[1] = pcb_netlist_find_net4pinname(PCB, pins[1]); if ((nets[0] == NULL) || (nets[1] == NULL)) { - pcb_message(PCB_MSG_DEFAULT, "That pin is not on a net.\n"); + pcb_message(PCB_MSG_ERROR, "That pin is not on a net.\n"); goto quit; } if (nets[0] == nets[1]) { - pcb_message(PCB_MSG_DEFAULT, "Those two pins are on the same net, can't swap them.\n"); + pcb_message(PCB_MSG_ERROR, "Those two pins are on the same net, can't swap them.\n"); goto quit; } Index: trunk/src/obj_arc.c =================================================================== --- trunk/src/obj_arc.c (revision 5666) +++ trunk/src/obj_arc.c (revision 5667) @@ -507,7 +507,7 @@ pcb_arc_t *newone; if (PCB_FLAG_TEST(PCB_FLAG_LOCK, Arc)) { - 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 (ctx->move.dst_layer == Layer && Layer->On) { Index: trunk/src/obj_line.c =================================================================== --- trunk/src/obj_line.c (revision 5666) +++ trunk/src/obj_line.c (revision 5667) @@ -517,7 +517,7 @@ void *ptr1, *ptr2, *ptr3; if (PCB_FLAG_TEST(PCB_FLAG_LOCK, Line)) { - 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 (ctx->move.dst_layer == Layer && Layer->On) { Index: trunk/src/paths.c =================================================================== --- trunk/src/paths.c (revision 5666) +++ trunk/src/paths.c (revision 5667) @@ -47,7 +47,7 @@ if (**in == '~') { int l1, l2; if (conf_core.rc.path.home == NULL) { - pcb_message(PCB_MSG_DEFAULT, "can't resolve home dir required for path %s\n", *in); + pcb_message(PCB_MSG_ERROR, "can't resolve home dir required for path %s\n", *in); exit(1); } subst_to = conf_core.rc.path.home; @@ -88,7 +88,7 @@ } } } - pcb_message(PCB_MSG_DEFAULT, "can't resolve conf-hash dir required for path %s\n", *in); + pcb_message(PCB_MSG_WARNING, "can't resolve conf-hash dir required for path %s\n", *in); *out = NULL; } else Index: trunk/src/plug_footprint.c =================================================================== --- trunk/src/plug_footprint.c (revision 5666) +++ trunk/src/plug_footprint.c (revision 5667) @@ -356,7 +356,7 @@ if (res >= 0) n_footprints += res; else - pcb_message(PCB_MSG_DEFAULT, "Warning: footprint library list error on %s\n", toppath); + pcb_message(PCB_MSG_WARNING, "Warning: footprint library list error on %s\n", toppath); } #ifdef DEBUG Index: trunk/src/rotate.c =================================================================== --- trunk/src/rotate.c (revision 5666) +++ trunk/src/rotate.c (revision 5667) @@ -110,7 +110,7 @@ void *ptr1, *ptr2, *ptr3; if ((type = pcb_search_screen(X, Y, PCB_ROTATE_TYPES, &ptr1, &ptr2, &ptr3)) != PCB_TYPE_NONE) { if (PCB_FLAG_TEST(PCB_FLAG_LOCK, (pcb_arc_t *) ptr2)) { - pcb_message(PCB_MSG_DEFAULT, _("Sorry, the object is locked\n")); + pcb_message(PCB_MSG_WARNING, _("Sorry, the object is locked\n")); return; } pcb_event(PCB_EVENT_RUBBER_RESET, NULL);