src/Builder4/ValaProjectSettingsPopover.bjs
authorAlan <alan@roojs.com>
Thu, 4 Jan 2024 09:41:11 +0000 (17:41 +0800)
committerAlan <alan@roojs.com>
Thu, 4 Jan 2024 09:41:11 +0000 (17:41 +0800)
src/Builder4/ValaProjectSettingsPopover.vala

src/Builder4/ValaProjectSettingsPopover.bjs
src/Builder4/ValaProjectSettingsPopover.vala

index 4c88635..749951d 100644 (file)
            "_this.project.save(); ",
            " ",
            "\t// what about .js ?",
-           "   _this.done = true;",
-           "\t_this.el.hide();",
-           "if (_this.donefunc != null) {",
-           "\t_this.donefunc();",
+           "_this.done = true;",
+           "_this.el.hide();",
+           "if (_this.doneObj != null) {",
+           "\t_this.doneObj.call(_this.project);",
            "}",
            "// hopefull this will work with bjs files..",
            "\t",
index cb14ea5..19e0a34 100644 (file)
                 _this.project.save(); 
                  
                        // what about .js ?
-                   _this.done = true;
-                       _this.el.hide();
-                if (_this.donefunc != null) {
-                       _this.donefunc();
+                _this.done = true;
+                _this.el.hide();
+                if (_this.doneObj != null) {
+                       _this.doneObj.call(_this.project);
                 }
                 // hopefull this will work with bjs files..