src/Builder4/MainWindow.bjs
authorAlan Knowles <alan@roojs.com>
Sat, 20 Jan 2024 15:00:58 +0000 (23:00 +0800)
committerAlan Knowles <alan@roojs.com>
Sat, 20 Jan 2024 15:00:58 +0000 (23:00 +0800)
src/Builder4/MainWindow.vala

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

index 7abbdbc..f1cc6b9 100644 (file)
              "\t\tpr,",
              "\t\tpr.firstBuildModuleWith(this.windowstate.file)",
              "\t);",
-             "\tthis.last_request.run();",
+             "\tthis.last_request.onOutput.connect( ( str) => {",
+             "\t",
+             "\t});",
+             "\tthis.last_request.run_async.begin( ( a, r) {",
+             "\t\tthis.last_request.run_async.end(r);",
+             "\t});",
              "\t ",
              "\t_this.windowstate.compile_results.el.set_parent(this.el);",
              "\t_this.windowstate.compile_results.show(this.el,true);",
index 7a1af16..3f1ece7 100644 (file)
@@ -1481,7 +1481,12 @@ public class Xcls_MainWindow : Object
                                        pr,
                                        pr.firstBuildModuleWith(this.windowstate.file)
                                );
-                               this.last_request.run();
+                               this.last_request.onOutput.connect( ( str) => {
+                               
+                               });
+                               this.last_request.run_async.begin( ( a, r) {
+                                       this.last_request.run_async.end(r);
+                               });
                                 
                                _this.windowstate.compile_results.el.set_parent(this.el);
                                _this.windowstate.compile_results.show(this.el,true);