src/Builder4/PopoverFiles.bjs
authorAlan <alan@roojs.com>
Fri, 20 May 2022 07:50:03 +0000 (15:50 +0800)
committerAlan <alan@roojs.com>
Fri, 20 May 2022 07:50:03 +0000 (15:50 +0800)
src/Builder4/PopoverFiles.vala

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

index 7f85bad..4c2cea2 100644 (file)
              "$ xns" : "Gtk",
              "* init" : [
               "{",
-              "  /* this.el.set_sort_func(0, (mod,a,b) => {",
+              "   this.el.set_sort_func(0, (mod,a,b) => {",
               "       GLib.Value ga, gb;",
               "       mod.get_value(a,0, out ga);",
               "       mod.get_value(b,0, out gb);",
               "        }",
               "        return (string)ga > (string)gb ? 1 : -1;",
               "   }); ",
-              "*/",
+              " ",
               "",
               "}",
               ""
index fb944cb..f55e23b 100644 (file)
@@ -984,7 +984,7 @@ public class Xcls_PopoverFiles : Object
             // init method
 
             {
-              /* this.el.set_sort_func(0, (mod,a,b) => {
+               this.el.set_sort_func(0, (mod,a,b) => {
                    GLib.Value ga, gb;
                    mod.get_value(a,0, out ga);
                    mod.get_value(b,0, out gb);
@@ -994,7 +994,7 @@ public class Xcls_PopoverFiles : Object
                     }
                     return (string)ga > (string)gb ? 1 : -1;
                }); 
-            */
+             
             
             }
         }