src/Builder4/MainWindow.bjs
authorAlan Knowles <alan@roojs.com>
Sun, 25 Sep 2022 03:20:56 +0000 (11:20 +0800)
committerAlan Knowles <alan@roojs.com>
Sun, 25 Sep 2022 03:20:56 +0000 (11:20 +0800)
src/Builder4/MainWindow.vala

src/Builder4/MainWindow.bjs
src/Builder4/MainWindow.vala

index cb987ec..6508213 100644 (file)
            "| void setNotices" : [
             "(Json.Object nots, int qty) {",
             "    this.el.show();",
-            "    this.el.label = qty.to_string() + \" Warnings\";",
+            "    _this.statusbar_warning_label.el.label = qty.to_string() + \" Warnings\";",
             "    this.notices = nots;",
             "",
             "}",
index c64b530..a461d60 100644 (file)
@@ -1292,7 +1292,7 @@ public class Xcls_MainWindow : Object
         // user defined functions
         public void setNotices (Json.Object nots, int qty) {
             this.el.show();
-            this.el.label = qty.to_string() + " Warnings";
+            _this.statusbar_warning_label.el.label = qty.to_string() + " Warnings";
             this.notices = nots;
         
         }