src/Builder4/About.bjs
authorAlan Knowles <alan@roojs.com>
Sun, 17 May 2015 04:56:51 +0000 (12:56 +0800)
committerAlan Knowles <alan@roojs.com>
Sun, 17 May 2015 04:56:51 +0000 (12:56 +0800)
src/Builder4/About.vala

src/Builder4/About.bjs
src/Builder4/About.vala

index ed1cb00..4f62e97 100644 (file)
@@ -9,7 +9,7 @@
  "items" : [
   {
    "listeners" : {
-    "delete_event" : "(self, event) => {\n    this.el.hide();\n    return true; \n     \n} \n    ",
+    "delete_event" : "(self, event) => {\n    this.el.hide();\n    return true; \n\n} \n    ",
     "response" : "(rid) => {\n    this.el.hide();\n}\n"
    },
    "Gtk.License license_type" : "Gtk.License.LGPL_3_0",
index a34d390..176d07f 100644 (file)
@@ -23,11 +23,20 @@ public class About : Object
 
         // my vars (dec)
 
+        // set gobject values
+        this.el.program_name = "app.Builder.js";
+        this.el.license = "LGPL";
+        this.el.authors = { "Alan Knowles" };
+        this.el.website = "http://www.akbkhome.com/blog.php";
+        this.el.modal = true;
+        this.el.copyright = "LGPL";
+        this.el.license_type = Gtk.License.LGPL_3_0;
+
         // listeners 
         this.el.delete_event.connect( (self, event) => {
             this.el.hide();
             return true; 
-             
+        
         });
         this.el.response.connect( (rid) => {
             this.el.hide();