From eac012261ba2f60a84935be31f1415b1e779e94c Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Tue, 30 Oct 2018 16:54:59 +0800 Subject: [PATCH] NewBranch.bjs NewBranch.vala --- NewBranch.bjs | 5 ++--- NewBranch.vala | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/NewBranch.bjs b/NewBranch.bjs index 8af0103e..bce425d6 100644 --- a/NewBranch.bjs +++ b/NewBranch.bjs @@ -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" diff --git a/NewBranch.vala b/NewBranch.vala index 867915d7..8b780dc3 100644 --- a/NewBranch.vala +++ b/NewBranch.vala @@ -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 -- 2.39.2