diff options
author | Mike Kestner <mkestner@gmail.com> | 2007-02-01 06:21:53 +0300 |
---|---|---|
committer | Mike Kestner <mkestner@gmail.com> | 2007-02-01 06:21:53 +0300 |
commit | 6dc8157cb2e13b56999ba4b61eb51a0e22867756 (patch) | |
tree | b9ab2acd69915771345aead853baf92abced9432 /ilcontrast | |
parent | 70a817cb7a2d684d7682605e288dcf7f6db01ae8 (diff) |
2007-01-31 Mike Kestner <mkestner@novell.com>
* Window.cs: break a 2.6 dep by removing AboutDialog usage.
svn path=/trunk/mono-tools/; revision=72071
Diffstat (limited to 'ilcontrast')
-rw-r--r-- | ilcontrast/ChangeLog | 4 | ||||
-rw-r--r-- | ilcontrast/Window.cs | 15 |
2 files changed, 12 insertions, 7 deletions
diff --git a/ilcontrast/ChangeLog b/ilcontrast/ChangeLog index f951b984..90ffdc23 100644 --- a/ilcontrast/ChangeLog +++ b/ilcontrast/ChangeLog @@ -1,5 +1,9 @@ 2007-01-31 Mike Kestner <mkestner@novell.com> + * Window.cs: break a 2.6 dep by removing AboutDialog usage. + +2007-01-31 Mike Kestner <mkestner@novell.com> + * Makefile.am: make conditional on ENABLE_GECKO. 2007-01-31 Mike Kestner <mkestner@novell.com> diff --git a/ilcontrast/Window.cs b/ilcontrast/Window.cs index 8ef298b8..8c650e7d 100644 --- a/ilcontrast/Window.cs +++ b/ilcontrast/Window.cs @@ -199,13 +199,14 @@ namespace IlContrast { void AboutActivated (object o, EventArgs args) { - AboutDialog about = new AboutDialog (); - about.Name = "ilContrast"; - about.Version = Global.VersionNumber; - about.Copyright = "Copyright (c) 2007 Novell, Inc."; - about.Comments = "Assembly Comparison Tool"; - about.TransientFor = this; - about.Logo = new Gdk.Pixbuf (null, "ilcontrast.png", 64, 64); + Dialog about = new Dialog ("About ilContrast", this, DialogFlags.DestroyWithParent, Stock.Close, ResponseType.Accept); + about.VBox.PackStart (new Gtk.Image (new Gdk.Pixbuf (null, "ilcontrast.png", 64, 64)), false, false, 6); + Label label = new Label (""); + label.Markup = "<b>ilContrast " + Global.VersionNumber + "</b>"; + about.VBox.PackStart (label, false, false, 6); + about.VBox.PackStart (new Label ("Assembly Comparison Tool"), false, false, 6); + about.VBox.PackStart (new Label ("Copyright (c) 2007 Novell, Inc."), false, false, 6); + about.VBox.ShowAll (); about.Run (); about.Destroy (); } |