[Monodevelop-patches-list] r2013 - in trunk/MonoDevelop/Core/src/Main/Base: . Commands

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Mon Nov 1 15:32:15 EST 2004


Author: tberman
Date: 2004-11-01 15:32:15 -0500 (Mon, 01 Nov 2004)
New Revision: 2013

Modified:
   trunk/MonoDevelop/Core/src/Main/Base/ChangeLog
   trunk/MonoDevelop/Core/src/Main/Base/Commands/AutostartCommands.cs
Log:
really open the last project


Modified: trunk/MonoDevelop/Core/src/Main/Base/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/Main/Base/ChangeLog	2004-11-01 17:57:56 UTC (rev 2012)
+++ trunk/MonoDevelop/Core/src/Main/Base/ChangeLog	2004-11-01 20:32:15 UTC (rev 2013)
@@ -1,5 +1,9 @@
 2004-11-01  Todd Berman  <tberman at off.net>
 
+	* Commands/AutoStartCommands.cs: Open the real last project.
+
+2004-11-01  Todd Berman  <tberman at off.net>
+
 	* Services/File/RecentOpen.cs: Properly handle if the renaming occurs
 	on a Directory, or if it is using SourceFile instead of FileName.
 

Modified: trunk/MonoDevelop/Core/src/Main/Base/Commands/AutostartCommands.cs
===================================================================
--- trunk/MonoDevelop/Core/src/Main/Base/Commands/AutostartCommands.cs	2004-11-01 17:57:56 UTC (rev 2012)
+++ trunk/MonoDevelop/Core/src/Main/Base/Commands/AutostartCommands.cs	2004-11-01 20:32:15 UTC (rev 2013)
@@ -62,7 +62,7 @@
 	                        RecentOpen recentOpen = ((IFileService)MonoDevelop.Core.Services.ServiceManager.GetService (typeof (IFileService))).RecentOpen;
 
 				if (recentOpen.RecentProject != null && recentOpen.RecentProject.Length > 0) { 
-					projectService.OpenCombine(recentOpen.RecentProject[0].ToString());
+					projectService.OpenCombine(recentOpen.RecentProject[recentOpen.RecentProject.Length - 1].ToString());
 				}
 			}
 			




More information about the Monodevelop-patches-list mailing list