- add progress to histogram
[FaRetSys.git] / About.cs
blobc8e99807fb36780beec1cd445f657dec006bdd56
1 using System;
2 using Gtk;
3 using Glade;
4 using Mono.Unix;
6 namespace Eithne
8 public class About
10 [Widget] Window AboutWindow;
11 [Widget] Image LogoImage;
12 [Widget] Label ProgramVersion;
13 [Widget] Button CloseButton;
15 public static string Name
17 // get { return "Eithne"; }
18 get { return "FaRetSys"; }
21 public About()
23 Glade.XML gxml = new Glade.XML("About.glade", "AboutWindow");
24 gxml.BindFields(this);
26 AboutWindow.IconList = new Gdk.Pixbuf[2] {new Gdk.Pixbuf(null, "help-browser-48.png"), new Gdk.Pixbuf(null, "help-browser.png")};
28 AboutWindow.Title = String.Format(Catalog.GetString("About {0}"), Name);
30 AboutWindow.DeleteEvent += CloseWindow;
31 CloseButton.Clicked += CloseWindow;
33 LogoImage.FromPixbuf = new Gdk.Pixbuf(null, "zsrr.jpg");
34 ProgramVersion.Text = String.Format("<big><big><b>{0} v{1}</b></big></big>", Name, Program.Version);
35 ProgramVersion.UseMarkup = true;
37 AboutWindow.ShowAll();
40 private void CloseWindow(object o, EventArgs args)
42 AboutWindow.Destroy();