src/Builder4/PopoverFileDetails.bjs
authorAlan <alan@roojs.com>
Thu, 4 Jan 2024 10:38:43 +0000 (18:38 +0800)
committerAlan <alan@roojs.com>
Thu, 4 Jan 2024 10:38:43 +0000 (18:38 +0800)
src/Builder4/PopoverFileDetails.vala

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

index 2a632d9..c97b41b 100644 (file)
        ],
        "uint row_spacing" : 2,
        "xtype" : "Grid",
-       "| void showAllRows" : [
-        "() {",
-        "\tfor (var i = 2; i < 10;i++) {",
-        "\t\tvar el = _this.grid.el.get_child_at(0,i);",
-        "\t\tel.show();",
-        "\t\tel = _this.grid.el.get_child_at(1,i);",
-        "\t\tel.show();",
-        "    }",
-        "}"
-       ],
        "| void xhideRow" : [
         "(int row) ",
         "{",
         "\tel.hide();",
         "",
         "}"
+       ],
+       "| void xshowAllRows" : [
+        "() {",
+        "\tfor (var i = 2; i < 10;i++) {",
+        "\t\tvar el = _this.grid.el.get_child_at(0,i);",
+        "\t\tel.show();",
+        "\t\tel = _this.grid.el.get_child_at(1,i);",
+        "\t\tel.show();",
+        "    }",
+        "}"
        ]
       }
      ],
index 1bd0b26..bb29d7f 100644 (file)
                el.hide();
             
             }
-            public void showAllRows () {
+            public void xshowAllRows () {
                for (var i = 2; i < 10;i++) {
                        var el = _this.grid.el.get_child_at(0,i);
                        el.show();