- "\tvar child = this.view.el.get_first_child(); ",
- " ",
- "\tvar reading_header = true;",
- " ",
- "\twhile (child != null) {",
- "\t\t//GLib.debug(\"Got %s\", child.get_type().name());",
- "\t ",
- "\t if (reading_header) {",
- "\t\t\t",
- "",
- "\t\t\tif (child.get_type().name() != \"GtkColumnListView\") {",
- "\t\t\t ",
- "\t\t\t\tchild = child.get_next_sibling();",
- "\t\t\t\tcontinue;",
- "\t\t\t}",
- "\t\t\t// should be columnlistview",
- "\t\t\tchild = child.get_first_child(); ",
- "\t\t ",
- "\t\t ",
- "\t\t\t",
- "\t\t\treading_header = false;",
- "\t\t\tcontinue;",
- "\t }",
- "\t ",
- "\t \tif (child.has_css_class(\"node-err\")) {",
+ "\t\tif (this.error_widgets == null || this.error_widgets.size < 1) {",
+ " \t\treturn;",
+ "\t}",
+ "\tforeach(var child in this.error_widgets) {",
+ "\t",
+ "\t\tif (child.has_css_class(\"node-err\")) {",