- {
- init : function() {
-
- this.el = XObject.isSeed ?
- new Gtk.ImageMenuItem.from_stock(Gtk.STOCK_QUIT)
- : new Gtk.ImageMenuItem.new_from_stock(Gtk.STOCK_QUIT, null);
-
- XObject.prototype.init.call(this);
- },
- label: 'Quit',
- pack: 'append',
- listeners : {
- activate : function () {
- Seed.quit();
- }
- }
- }
+ var image = new Gtk.Image();
+ image.set_from_stock(Gtk.Stock.ABOUT,Gtk.IconSize.MENU );
+ this.set_image (image);
+ this.label= "About Gitlive";
+ this.always_show_image = true;
+ this.accel_group = null;
+
+ this.activate.connect( () => {
+ //var ret = imports.Clones.Clones.show();
+
+ var msg = new Gtk.AboutDialog();
+ msg.program_name = "Git Live";
+ msg.version= "0.3";
+ msg.website= "http://www.roojs.org/index.php/projects/gitlive.html";
+ msg.website_label= "Roo J Solutions Ltd.";
+ msg.license = "LGPL";
+ msg.authors = { "Alan Knowles <alan@roojs.com>" };
+ msg.run();
+ msg.destroy();
+ });
+ }
+
+
+ }
+
+ class ImageMenuItemG : ImageMenuItem {
+
+ public ImageMenuItemG()
+ {