[Monodevelop-patches-list] r1987 - trunk/MonoDevelop/Core/src/AddIns/Misc/StartPage

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Wed Oct 20 21:35:55 EDT 2004


Author: jluke
Date: 2004-10-20 21:35:55 -0400 (Wed, 20 Oct 2004)
New Revision: 1987

Modified:
   trunk/MonoDevelop/Core/src/AddIns/Misc/StartPage/ChangeLog
   trunk/MonoDevelop/Core/src/AddIns/Misc/StartPage/ICSharpCodePage.cs
Log:
missed this one


Modified: trunk/MonoDevelop/Core/src/AddIns/Misc/StartPage/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/Misc/StartPage/ChangeLog	2004-10-21 01:27:57 UTC (rev 1986)
+++ trunk/MonoDevelop/Core/src/AddIns/Misc/StartPage/ChangeLog	2004-10-21 01:35:55 UTC (rev 1987)
@@ -1,3 +1,7 @@
+2004-10-20  John Luke  <john.luke at gmail.com>
+
+	* ICSharpCodePage.cs: update to new RecentFiles API
+
 2004-08-07  Todd Berman  <tberman at sevenl.net>
 
 	* AssemblyInfo.cs.in: Use new ASSEMBLY_VERSION variable.

Modified: trunk/MonoDevelop/Core/src/AddIns/Misc/StartPage/ICSharpCodePage.cs
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/Misc/StartPage/ICSharpCodePage.cs	2004-10-21 01:27:57 UTC (rev 1986)
+++ trunk/MonoDevelop/Core/src/AddIns/Misc/StartPage/ICSharpCodePage.cs	2004-10-21 01:35:55 UTC (rev 1987)
@@ -518,8 +518,8 @@
 					object recentOpenObj = svc.GetProperty("MonoDevelop.Gui.MainWindow.RecentOpen");
 					if (recentOpenObj is MonoDevelop.Services.RecentOpen) {
 						MonoDevelop.Services.RecentOpen recOpen = (MonoDevelop.Services.RecentOpen)recentOpenObj;
-						projectFiles = new string[recOpen.RecentProject.Count];
-						for (int i = 0; i < recOpen.RecentProject.Count; ++i) {
+						projectFiles = new string[recOpen.RecentProject.Length];
+						for (int i = 0; i < recOpen.RecentProject.Length; ++i) {
 							string fileName = recOpen.RecentProject[i].ToString();
 							
 							// if the file does not exist, goto next one




More information about the Monodevelop-patches-list mailing list