src/Builder4/About.bjs
authorAlan Knowles <alan@roojs.com>
Tue, 19 May 2015 06:28:48 +0000 (14:28 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 19 May 2015 06:28:48 +0000 (14:28 +0800)
src/Builder4/About.vala

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

index c7beb46..9c7826c 100644 (file)
@@ -9,7 +9,7 @@
  "items" : [
   {
    "listeners" : {
-    "delete_event" : "(self, event) => {\n    this.el.hide();\n    return true; \n}  \n    ",
+    "delete_event" : "(self, event) => {\n    this.el.hide();\n    return true; \n}   \n    ",
     "response" : "(rid) => {\n    this.el.hide();\n}\n"
    },
    "Gtk.License license_type" : "Gtk.License.LGPL_3_0",
index c316031..9502c0f 100644 (file)
@@ -1,38 +1,38 @@
-static About  _About;
-
-public class About : Object 
+/*0*/ static About  _About;
+/*1*/ 
+/*2*/ public class About : Object 
 {
-    public Gtk.AboutDialog el;
-    private About  _this;
-
-    public static About singleton()
-    {
-        if (_About == null) {
-            _About= new About();
-        }
-        return _About;
-    }
-
-        // my vars (def)
-
-    // ctor 
-    public About()
-    {
-        _this = this;
-        this.el = new Gtk.AboutDialog();
-
-        // 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 
+/*3*/     public Gtk.AboutDialog el;
+/*4*/     private About  _this;
+/*5*/ 
+/*6*/     public static About singleton()
+/*7*/     {
+/*8*/         if (_About == null) {
+/*9*/             _About= new About();
+/*10*/         }
+/*11*/         return _About;
+/*12*/     }
+/*13*/ 
+/*14*/         // my vars (def)
+/*15*/ 
+/*16*/     // ctor
+/*17*/     public About()
+/*18*/     {
+/*19*/         _this = this;
+/*20*/         this.el = new Gtk.AboutDialog();
+/*21*/ 
+/*22*/         // my vars (dec)
+/*23*/ 
+/*24*/         // set gobject values
+/*25*/         this.el.program_name = "app.Builder.js";
+/*26*/         this.el.license = "LGPL";
+/*27*/         this.el.authors = { "Alan Knowles" };
+/*28*/         this.el.website = "http://www.akbkhome.com/blog.php";
+/*29*/         this.el.modal = true;
+/*30*/         this.el.copyright = "LGPL";
+/*31*/         this.el.license_type = Gtk.License.LGPL_3_0;
+/*32*/ 
+/*33*/         //listeners
         this.el.delete_event.connect( (self, event) => {
             this.el.hide();
             return true; 
@@ -40,12 +40,12 @@ public class About : Object
         this.el.response.connect( (rid) => {
             this.el.hide();
         });
-    }
-
-    // user defined functions 
+/*43*/     }
+/*44*/ 
+/*45*/     // user defined functions
     public    void show (Gtk.Window parent) {
         this.el.set_transient_for(parent);
         this.el.modal = true;
         this.el.show();
     }
-}
+/*52*/ }