Author: scotte
Date: 2006-08-10 09:42:52 -0400 (Thu, 10 Aug 2006)
New Revision: 63587
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/ChangeLog
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/Freedesktop.RecentFiles/RecentFiles.cs
Log:
2006-08-10 Scott Ellington <[EMAIL PROTECTED]>
* Freedesktop.RecentFiles/RecentFiles.cs: check for null Groups when
clearing. (fixes bug 79038)
Modified: trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/ChangeLog
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/ChangeLog 2006-08-10
12:55:03 UTC (rev 63586)
+++ trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/ChangeLog 2006-08-10
13:42:52 UTC (rev 63587)
@@ -1,3 +1,8 @@
+2006-08-10 Scott Ellington <[EMAIL PROTECTED]>
+
+ * Freedesktop.RecentFiles/RecentFiles.cs: check for null Groups when
+ clearing. (fixes bug 79038)
+
2006-08-08 Lluis Sanchez Gual <[EMAIL PROTECTED]>
* MonoDevelop.Core.Gui/CommandService.cs: Allow specifying an
Modified:
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/Freedesktop.RecentFiles/RecentFiles.cs
===================================================================
---
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/Freedesktop.RecentFiles/RecentFiles.cs
2006-08-10 12:55:03 UTC (rev 63586)
+++
trunk/monodevelop/Core/src/MonoDevelop.Core.Gui/Freedesktop.RecentFiles/RecentFiles.cs
2006-08-10 13:42:52 UTC (rev 63587)
@@ -133,7 +133,7 @@
ArrayList list = new ArrayList ();
foreach (RecentItem ri in RecentItems)
{
- if (Array.IndexOf (ri.Groups, group) == -1)
+ if ( ri.Groups == null || Array.IndexOf
(ri.Groups, group) == -1)
{
list.Add (ri);
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches