src/Builder4/MainWindow.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 12 May 2015 08:37:18 +0000 (16:37 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 12 May 2015 08:37:18 +0000 (16:37 +0800)
src/Builder4/MainWindow.vala

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

index 9dccd18..f0dc30d 100644 (file)
                  "items" : [
                   {
                    "listeners" : {
-                    "clicked" : "  ( ) => {\n  \n    // create a new file in project..\n    if (_this.project == null || _this.windowstate.left_tree.model.file == null) {\n        return  ;\n    }\n     _this.windowstate.file_details.show(_this.windowstate.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.windowstate.left_tree.model.file == null) {\n        return  ;\n    }\n     _this.windowstate.file_details.show(\n        _this.windowstate.left_tree.model.file, this.el\n    );\n     \n    return  ;    \n\n\n}"
                    },
                    "* pack" : false,
                    "xtype" : "Button",
index 33b8e03..82bf1bc 100644 (file)
@@ -1234,7 +1234,9 @@ public class Xcls_MainWindow : Object
                 if (_this.project == null || _this.windowstate.left_tree.model.file == null) {
                     return  ;
                 }
-                 _this.windowstate.file_details.show(_this.windowstate.left_tree.model.file);
+                 _this.windowstate.file_details.show(
+                    _this.windowstate.left_tree.model.file, this.el
+                );
                  
                 return  ;