add full path to file properties dialog
[roobuilder] / src / Builder4 / PopoverFileDetails.bjs
index 7891cb8..3755ed2 100644 (file)
           }
          ],
          "xtype" : "ComboBox"
+        },
+        {
+         "$ justify" : "Gtk.Justification.RIGHT",
+         "$ visible" : true,
+         "$ xns" : "Gtk",
+         "* pack" : "attach,0,9,1,1",
+         "int colspan" : 1,
+         "label" : "Full path",
+         "x_options" : 4,
+         "xalign" : 0.90000000000000002,
+         "xtype" : "Label"
+        },
+        {
+         "$ visible" : true,
+         "$ xns" : "Gtk",
+         "* pack" : "attach,1,9,1,1",
+         "bool editable" : false,
+         "id" : "path",
+         "int colspan" : 1,
+         "xtype" : "Entry"
         }
        ],
        "n_columns" : 2,
-       "n_rows" : 7,
+       "n_rows" : 8,
        "uint row_spacing" : 2,
        "xtype" : "Grid"
       },
     "    //if (!this.el) {",
     "        //this.init();",
     "     //}",
-    "    ",
+    "    _this.path.el.set_text(c.path);",
     "    _this.name.el.set_text(c.name);",
     "    _this.title.el.set_text(c.title);",
     "    _this.parent.el.set_text(c.parent);    ",
     "    _this.region.el.set_text(c.region);",
     "    _this.modOrder.el.set_text(c.modOrder);",
-    "     _this.permname.el.set_text(c.permname);",
+    "    _this.permname.el.set_text(c.permname);",
     "    ",
     "    ",
     "    ",
     "   this.el.set_modal(true);",
     "    this.el.set_relative_to(btn);",
     "",
-    "    this.el.set_position(Gtk.PositionType.RIGHT);",
+    "    this.el.set_position(Gtk.PositionType.TOP);",
+    "",
+    "     int w,h;",
+    "    this.mainwindow.el.get_size(out w, out h);",
+    "    this.el.set_size_request( 550, h);",
+    "",
+    "   ",
     "    ",
     "    // window + header?",
     "     print(\"SHOWALL - POPIP\\n\");",