src/Builder4/MainWindow.bjs
authorAlan Knowles <alan@roojs.com>
Fri, 27 Feb 2015 01:17:22 +0000 (09:17 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 27 Feb 2015 01:17:22 +0000 (09:17 +0800)
src/Builder4/MainWindow.vala

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

index 0a89fcd..1031887 100644 (file)
                  "items" : [
                   {
                    "listeners" : {
-                    "clicked" : "  ( ) => {\n  \n    // create a new file in project..\n    if (_this.project == null || _this.left_tree.model.file == null) {\n        return  ;\n    }\n     this.windowstate.new_file_dialog.show(_this.left_tree.model.file);\n     \n    return  ;    \n\n\n}"
+                    "clicked" : "  ( ) => {\n  \n    // create a new file in project..\n    if (_this.project == null || _this.left_tree.model.file == null) {\n        return  ;\n    }\n     _this.windowstate.new_file_dialog.show(_this.left_tree.model.file);\n     \n    return  ;    \n\n\n}"
                    },
                    "* pack" : false,
                    "xtype" : "Button",
index c266ea5..4672e7f 100644 (file)
@@ -1369,7 +1369,7 @@ public class Xcls_MainWindow : Object
                 if (_this.project == null || _this.left_tree.model.file == null) {
                     return  ;
                 }
-                 this.windowstate.new_file_dialog.show(_this.left_tree.model.file);
+                 _this.windowstate.new_file_dialog.show(_this.left_tree.model.file);
                  
                 return  ;