Author: miguel
Date: 2005-10-10 20:10:15 -0400 (Mon, 10 Oct 2005)
New Revision: 51538
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MimeIcon.cs
Log:
2005-10-10 Miguel de Icaza <[EMAIL PROTECTED]>
* MimeIcon.cs: Ignore errors if the file can not be read.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2005-10-10 23:08:43 UTC (rev 51537)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2005-10-11 00:10:15 UTC (rev 51538)
@@ -1,3 +1,7 @@
+2005-10-10 Miguel de Icaza <[EMAIL PROTECTED]>
+
+ * MimeIcon.cs: Ignore errors if the file can not be read.
+
2005-10-11 Jordi Mas i Hernandez <[EMAIL PROTECTED]>
* Theme.cs, ThemeWin32Classic.cs, ListBox.cs:
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MimeIcon.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MimeIcon.cs
2005-10-10 23:08:43 UTC (rev 51537)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MimeIcon.cs
2005-10-11 00:10:15 UTC (rev 51538)
@@ -535,7 +535,11 @@
foreach ( string f in files )
{
+ try {
ReadDotDesktop( f );
+ } catch {
+ // Ignore errors if the file
can not be read.
+ }
}
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches