src/Builder4/PopoverFileDetails.bjs
authorAlan <alan@roojs.com>
Thu, 7 Jul 2022 10:29:42 +0000 (18:29 +0800)
committerAlan <alan@roojs.com>
Thu, 7 Jul 2022 10:29:42 +0000 (18:29 +0800)
src/Builder4/PopoverFileDetails.vala

src/Builder4/PopoverFileDetails.bjs
src/Builder4/PopoverFileDetails.vala

index 070c7a5..483ae19 100644 (file)
@@ -4,6 +4,7 @@
   {
    "# JsRender.JsRender file" : "null",
    "# Project.Project project" : "",
+   "# bool new_window" : true,
    "$ xns" : "Gtk",
    "@ void success" : "(Project.Project pr, JsRender.JsRender file)",
    "Gtk.PositionType position" : "Gtk.PositionType.RIGHT",
index 9f25aab..ab201c5 100644 (file)
@@ -32,6 +32,7 @@ public class Xcls_PopoverFileDetails : Object
     public Xcls_save_btn save_btn;
 
         // my vars (def)
+    public bool new_window;
     public signal void success (Project.Project pr, JsRender.JsRender file);
     public JsRender.JsRender file;
     public Project.Project project;
@@ -45,6 +46,7 @@ public class Xcls_PopoverFileDetails : Object
         this.el = new Gtk.Popover( null );
 
         // my vars (dec)
+        this.new_window = true;
         this.file = null;
         this.mainwindow = null;
         this.done = false;