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"; }
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();