+
+
+ class MenuItemAbout : ImageMenuItem {
+
+ public MenuItemAbout()
+ {
+
+ 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 MenuItemQuit : ImageMenuItem {
+
+ public MenuItemQuit()
+ {
+
+ var image = new Gtk.Image();
+ image.set_from_stock(Gtk.Stock.QUIT,Gtk.IconSize.MENU );
+ this.set_image (image);
+ this.label= "Quit";
+ this.always_show_image = true;
+ this.accel_group = null;
+
+ this.activate.connect( () => {
+ // confirm?
+ Gtk.main_quit();
+ //var ret = imports.Clones.Clones.show();
+ });
+ }
+
+
+ }
+
+ }
+}
+
+
+
\ No newline at end of file