All pastes #123651 Raw Edit

Mine

public text v1 · immutable
·published 2006-08-09 13:38 UTC
rendered paste body
diff -ruN muine-0.8.5/src/About.cs muine-0.8.5.new/src/About.cs
--- muine-0.8.5/src/About.cs    2006-01-27 21:45:20.000000000 -0500
+++ muine-0.8.5.new/src/About.cs    2006-08-09 09:21:18.000000000 -0400
@@ -24,7 +24,7 @@

 namespace Muine
 {
-   public class About : Gnome.About
+   public class About : Gtk.AboutDialog
    {
        // Strings
        private static readonly string string_translators =
@@ -79,13 +79,20 @@
        /// <param name="parent">
        /// The parent window
        /// </param>
-       public About (Gtk.Window parent) 
-       : base (string_muine, Defines.VERSION, string_copyright, string_description,
-           authors, documenters, translators, pixbuf)
-       {
-           TransientFor = parent;
-
-           Show ();
-       }
+        public About (Gtk.Window parent)
+        {
+                TransientFor = parent;
+                Name = string.Concat(string_muine, " ", Defines.VERSION);
+                Authors = authors;
+                Comments = string_description;
+                Copyright = string_copyright;
+                Documenters = documenters;
+                TranslatorCredits = translators;
+                Logo = pixbuf;
+                Website = "http://www.muine-player.org/";
+
+                Run ();
+                Destroy ();
+        }
    }