src/Builder4/PopoverFiles.bjs
authorAlan <alan@roojs.com>
Fri, 20 May 2022 06:53:55 +0000 (14:53 +0800)
committerAlan <alan@roojs.com>
Fri, 20 May 2022 06:53:55 +0000 (14:53 +0800)
src/Builder4/PopoverFiles.vala

src/Builder4/PopoverFiles.bjs
src/Builder4/PopoverFiles.vala

index 5cf3ef9..e1068a3 100644 (file)
@@ -75,7 +75,7 @@
              "  ",
              "  ",
              "  ",
-             "\tthis.win.windowstate.projectPopoverShow(this.el);",
+             "\tthis.win.windowstate.projectPopoverShow(this.el, this.project);",
              " }"
             ]
            },
              " () => {",
              "    // create a new file in project..",
              "    print(\"add file selected\\n\");",
+             "    ",
+             "    ",
+             "    ",
              "    // what's the currently selected project...",
              "    /*",
              "    var proj = _this.windowstate.left_projects.getSelectedProject();",
index 425b93e..c7262a2 100644 (file)
@@ -435,7 +435,7 @@ public class Xcls_PopoverFiles : Object
               
               
               
-               this.win.windowstate.projectPopoverShow(this.el);
+               this.win.windowstate.projectPopoverShow(this.el, this.project);
              });
         }
 
@@ -519,6 +519,9 @@ public class Xcls_PopoverFiles : Object
             this.el.clicked.connect( () => {
                 // create a new file in project..
                 print("add file selected\n");
+                
+                
+                
                 // what's the currently selected project...
                 /*
                 var proj = _this.windowstate.left_projects.getSelectedProject();