Author: lluis
Date: 2007-12-12 21:18:01 -0500 (Wed, 12 Dec 2007)
New Revision: 91195
Modified:
trunk/monodevelop/main/src/core/MonoDevelop.Ide/ChangeLog
trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Ide.cs
trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.mdp
Log:
* MonoDevelop.Ide.mdp: Remove unneeded reference.
* MonoDevelop.Ide.Gui/Ide.cs: Load the previous combine at startup only
after everything has been properly initialized. Also, don't
continue until the combine has been fully loaded. Fixes bug
#347438.
Modified: trunk/monodevelop/main/src/core/MonoDevelop.Ide/ChangeLog
===================================================================
--- trunk/monodevelop/main/src/core/MonoDevelop.Ide/ChangeLog 2007-12-13
01:54:13 UTC (rev 91194)
+++ trunk/monodevelop/main/src/core/MonoDevelop.Ide/ChangeLog 2007-12-13
02:18:01 UTC (rev 91195)
@@ -1,3 +1,10 @@
+2007-12-13 Lluis Sanchez Gual <[EMAIL PROTECTED]>
+
+ * MonoDevelop.Ide.mdp: Remove unneeded reference.
+ * MonoDevelop.Ide.Gui/Ide.cs: Load the previous combine at startup only
+ after everything has been properly initialized. Also, don't continue
+ until the combine has been fully loaded. Fixes bug #347438.
+
2007-12-12 Michael Hutchinson <[EMAIL PROTECTED]>
* MonoDevelop.Ide.Gui.Pads/TaskListPad.cs,
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
2007-12-13 01:54:13 UTC (rev 91194)
+++ trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui/Ide.cs
2007-12-13 02:18:01 UTC (rev 91195)
@@ -122,14 +122,6 @@
InternalLog.EnableErrorNotification ();
- // load previous combine
- if
((bool)PropertyService.Get("SharpDevelop.LoadPrevProjectOnStartup", false)) {
- RecentOpen recentOpen = Workbench.RecentOpen;
-
- if (recentOpen.RecentProject != null &&
recentOpen.RecentProject.Length > 0) {
-
IdeApp.ProjectOperations.OpenCombine(recentOpen.RecentProject[0].ToString());
- }
- }
monitor.Step (1);
foreach (string file in
StartupInfo.GetRequestedFileList()) {
@@ -165,6 +157,15 @@
isInitialized = true;
if (Initialized != null)
Initialized (null, EventArgs.Empty);
+
+ // load previous combine
+ if
((bool)PropertyService.Get("SharpDevelop.LoadPrevProjectOnStartup", false)) {
+ RecentOpen recentOpen = Workbench.RecentOpen;
+
+ if (recentOpen.RecentProject != null &&
recentOpen.RecentProject.Length > 0) {
+
IdeApp.ProjectOperations.OpenCombine(recentOpen.RecentProject[0].ToString()).WaitForCompleted
();
+ }
+ }
}
static bool FileServiceErrorHandler (string message, Exception
ex)
Modified: trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.mdp
===================================================================
--- trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.mdp
2007-12-13 01:54:13 UTC (rev 91194)
+++ trunk/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.mdp
2007-12-13 02:18:01 UTC (rev 91195)
@@ -366,7 +366,6 @@
<ProjectReference type="Gac" localcopy="True" refto="Mono.Addins,
Version=0.3.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
<ProjectReference type="Gac" localcopy="True" refto="Mono.Addins.Setup,
Version=0.3.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
<ProjectReference type="Gac" localcopy="True" refto="Mono.Addins.Gui,
Version=0.3.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" />
- <ProjectReference type="Gac" localcopy="True" refto="gtkhtml-sharp,
Version=2.8.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
</References>
<MonoDevelop.Autotools.MakefileInfo IntegrationEnabled="True"
RelativeMakefileName="./Makefile.am" BuildTargetName="" CleanTargetName=""
SyncReferences="True" IsAutotoolsProject="True"
RelativeConfigureInPath="../../../">
<ExcludedFiles>
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches