:Revert "fix line numbering issues with vala generator - hopefully fixes completion...
[roobuilder] / src / Builder4 / About.vala
index 525a91a..543b7ac 100644 (file)
@@ -2,45 +2,44 @@ static About  _About;
 
 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 = "roobuilder";
-        this.el.license = "LGPL";
-        this.el.authors = { "Alan Knowles" };
-        this.el.website = "https://github.com/roojs/roobuilder";
-        this.el.modal = true;
-        this.el.copyright = "LGPL";
-
-        //listeners
-        this.el.response.connect( (rid) => {
-            this.el.hide();
-        });
-    }
-
-    // user defined functions
-    public    void show (Gtk.Window parent) {
-        this.el.set_transient_for(parent);
-        this.el.modal = true;
-        this.el.show();
-    }
+       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 = "roobuilder";
+               this.el.license = "LGPL";
+               this.el.authors = { "Alan Knowles" };
+               this.el.version = "4.4.2";
+               this.el.website = "https://github.com/roojs/roobuilder";
+               this.el.modal = true;
+               this.el.copyright = "LGPL";
+       }
+
+       // user defined functions
+       public void show (Gtk.Window parent) {
+               this.el.application = parent.application;
+               this.el.set_transient_for(parent);
+               this.el.show();
+        
+                
+               
+       }
 }