Author: lluis
Date: 2006-04-18 05:31:12 -0400 (Tue, 18 Apr 2006)
New Revision: 59579

Modified:
   trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog
   
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/SplashScreen.cs
Log:
2006-04-18 Lluis Sanchez Gual  <[EMAIL PROTECTED]>

        * MonoDevelop.Ide.Gui.Dialogs/SplashScreen.cs: Don't create the
          splash window in the static initializer, since it may be created
          before GTK is initialized.



Modified: trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog        2006-04-18 
08:38:05 UTC (rev 59578)
+++ trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog        2006-04-18 
09:31:12 UTC (rev 59579)
@@ -1,3 +1,9 @@
+2006-04-18 Lluis Sanchez Gual  <[EMAIL PROTECTED]>
+
+       * MonoDevelop.Ide.Gui.Dialogs/SplashScreen.cs: Don't create the
+         splash window in the static initializer, since it may be created
+         before GTK is initialized.
+
 2006-04-18 Lluis Sanchez Gual  <[EMAIL PROTECTED]> 
 
        * MonoDevelop.Ide.Gui.BrowserDisplayBinding/BrowserDisplayBinding.cs:

Modified: 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/SplashScreen.cs
===================================================================
--- 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/SplashScreen.cs
      2006-04-18 08:38:05 UTC (rev 59578)
+++ 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/SplashScreen.cs
      2006-04-18 09:31:12 UTC (rev 59579)
@@ -11,7 +11,7 @@
        
        public class SplashScreenForm : Gtk.Window, IProgressMonitor
        {
-               static SplashScreenForm splashScreen = new SplashScreenForm();
+               static SplashScreenForm splashScreen;
                static ProgressBar progress;
                static VBox vbox;
                ProgressTracker tracker = new ProgressTracker ();
@@ -20,6 +20,8 @@
                
                public static SplashScreenForm SplashScreen {
                        get {
+                               if (splashScreen == null)
+                                       splashScreen = new SplashScreenForm();
                                return splashScreen;
                        }
                }

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to