NewBranch.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 30 Oct 2018 08:54:59 +0000 (16:54 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 30 Oct 2018 08:54:59 +0000 (16:54 +0800)
NewBranch.vala

NewBranch.bjs
NewBranch.vala

index 8af0103..bce425d 100644 (file)
@@ -16,9 +16,8 @@
    "|   void updateFileFromEntry" : "() {\n\n        _this.file.title = _this.title.el.get_text();\n        _this.file.region = _this.region.el.get_text();            \n        _this.file.parent = _this.parent.el.get_text();                        \n        _this.file.permname = _this.permname.el.get_text();                                    \n        _this.file.modOrder = _this.modOrder.el.get_text();\n        \n        if (_this.file.name.length  > 0 && _this.file.name != _this.name.el.get_text()) {\n            _this.file.renameTo(_this.name.el.get_text());\n        }\n        // store the module...\n        _this.file.build_module = \"\";        \n         Gtk.TreeIter iter; \n        if (_this.build_module.el.get_active_iter (out iter)) {\n             Value vfname;\n             this.dbmodel.el.get_value (iter, 0, out vfname);\n             if (((string)vfname).length > 0) {\n                 _this.file.build_module = (string)vfname;\n             }\n    \n        }\n        \n        \n\n                                                    \n}    ",
    "id" : "DialogNewComponent",
    "default_width" : 500,
-   "@ void success" : "(Project.Project pr, JsRender.JsRender file)",
    "$ deletable" : true,
-   "title" : "New Component",
+   "title" : "Create a working branch ",
    "xtype" : "Dialog",
    "|   void show" : "( ) \n{\n    \n    \n    //this.success = c.success;\n    \n    \n}",
    "default_height" : 200,
@@ -99,7 +98,7 @@
      "$ xns" : "Gtk"
     },
     {
-     "label" : "OK",
+     "label" : "Create Branch",
      "* pack" : "add_action_widget,1",
      "xtype" : "Button",
      "$ xns" : "Gtk"
index 867915d..8b780dc 100644 (file)
@@ -18,7 +18,6 @@ public class Xcls_DialogNewComponent : Object
     public Xcls_name name;
 
         // my vars (def)
-    public signal void success (Project.Project pr, JsRender.JsRender file);
 
     // ctor
     public Xcls_DialogNewComponent()
@@ -29,7 +28,7 @@ public class Xcls_DialogNewComponent : Object
         // my vars (dec)
 
         // set gobject values
-        this.el.title = "New Component";
+        this.el.title = "Create a working branch ";
         this.el.default_height = 200;
         this.el.default_width = 500;
         this.el.deletable = true;
@@ -381,7 +380,7 @@ public class Xcls_DialogNewComponent : Object
             // my vars (dec)
 
             // set gobject values
-            this.el.label = "OK";
+            this.el.label = "Create Branch";
         }
 
         // user defined functions