Author: lluis
Date: 2006-05-31 08:40:17 -0400 (Wed, 31 May 2006)
New Revision: 61317
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Ide.cs
Log:
2006-05-31 Lluis Sanchez Gual <[EMAIL PROTECTED]>
* MonoDevelop.Ide.Gui/Ide.cs: Moved field initialization to
the Initialize method, to make sure child objects are
not created before the whole infrastructure is ready.
Modified: trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog 2006-05-31
12:37:06 UTC (rev 61316)
+++ trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog 2006-05-31
12:40:17 UTC (rev 61317)
@@ -1,3 +1,9 @@
+2006-05-31 Lluis Sanchez Gual <[EMAIL PROTECTED]>
+
+ * MonoDevelop.Ide.Gui/Ide.cs: Moved field initialization to
+ the Initialize method, to make sure child objects are
+ not created before the whole infrastructure is ready.
+
2006-05-30 Lluis Sanchez Gual <[EMAIL PROTECTED]>
* MonoDevelop.Ide.Commands/ViewCommands.cs:
Modified: trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Ide.cs
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Ide.cs
2006-05-31 12:37:06 UTC (rev 61316)
+++ trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Ide.cs
2006-05-31 12:40:17 UTC (rev 61317)
@@ -54,11 +54,11 @@
{
public abstract class IdeApp
{
- static Workbench workbench = new Workbench ();
- static ProjectOperations projectOperations = new
ProjectOperations ();
- static HelpOperations helpOperations = new HelpOperations ();
- static CommandService commandService = new CommandService ();
- static IdeServices ideServices = new IdeServices ();
+ static Workbench workbench;
+ static ProjectOperations projectOperations;
+ static HelpOperations helpOperations;
+ static CommandService commandService;
+ static IdeServices ideServices;
IdeApp ()
{
@@ -86,6 +86,12 @@
public static void Initialize (IProgressMonitor monitor)
{
+ workbench = new Workbench ();
+ projectOperations = new ProjectOperations ();
+ helpOperations = new HelpOperations ();
+ commandService = new CommandService ();
+ ideServices = new IdeServices ();
+
monitor.BeginTask (GettextCatalog.GetString("Loading
Workbench"), 6);
commandService.LoadCommands ("/SharpDevelop/Commands");
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches