Author: lluis
Date: 2008-01-23 07:20:06 -0500 (Wed, 23 Jan 2008)
New Revision: 93640

Modified:
   trunk/monodevelop/main/src/core/MonoDevelop.Ide/ChangeLog
   trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Ide.cs
Log:
* MonoDevelop.Ide.Gui/Ide.cs: Initialize the resource service before
  initializing the workbench.

Modified: trunk/monodevelop/main/src/core/MonoDevelop.Ide/ChangeLog
===================================================================
--- trunk/monodevelop/main/src/core/MonoDevelop.Ide/ChangeLog   2008-01-23 
12:13:06 UTC (rev 93639)
+++ trunk/monodevelop/main/src/core/MonoDevelop.Ide/ChangeLog   2008-01-23 
12:20:06 UTC (rev 93640)
@@ -1,3 +1,8 @@
+2008-01-23  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
+
+       * MonoDevelop.Ide.Gui/Ide.cs: Initialize the resource service before
+         initializing the workbench.
+
 2008-01-22  Zach Lute <[EMAIL PROTECTED]> 
 
        * MonoDevelop.Ide.Gui/IdeStartup.cs: Added --newwindow option to force 
MD to

Modified: 
trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Ide.cs
===================================================================
--- trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Ide.cs  
2008-01-23 12:13:06 UTC (rev 93639)
+++ trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Ide.cs  
2008-01-23 12:20:06 UTC (rev 93640)
@@ -96,6 +96,9 @@
                
                public static void Initialize (IProgressMonitor monitor)
                {
+                       //force the ResourceService to load so that it 
registers stock icons
+                       MonoDevelop.Core.Gui.Services.Resources.ToString ();
+                       
                        workbench = new Workbench ();
                        projectOperations = new ProjectOperations ();
                        helpOperations = new HelpOperations ();
@@ -110,9 +113,6 @@
                
                        monitor.BeginTask (GettextCatalog.GetString("Loading 
Workbench"), 5);
                        
-                       //force the ResourceService to load so that it 
registers stock icons
-                       MonoDevelop.Core.Gui.Services.Resources.ToString ();
-                       
                        commandService.LoadCommands 
("/MonoDevelop/Ide/Commands");
                        commandService.LoadKeyBindingSchemes 
("/MonoDevelop/Ide/KeyBindingSchemes");
                        monitor.Step (1);

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

Reply via email to