Author: spouliot
Date: 2006-12-07 20:01:03 -0500 (Thu, 07 Dec 2006)
New Revision: 69214

Modified:
   trunk/mcs/class/System.Drawing/System.Drawing/ChangeLog
   trunk/mcs/class/System.Drawing/System.Drawing/Icon.cs
Log:
2006-12-07  Sebastien Pouliot  <[EMAIL PROTECTED]>

        * Icon.cs: Revert a change from r68882. The type is also part of the 
        icon's name. Fix bug #80181.



Modified: trunk/mcs/class/System.Drawing/System.Drawing/ChangeLog
===================================================================
--- trunk/mcs/class/System.Drawing/System.Drawing/ChangeLog     2006-12-08 
01:00:44 UTC (rev 69213)
+++ trunk/mcs/class/System.Drawing/System.Drawing/ChangeLog     2006-12-08 
01:01:03 UTC (rev 69214)
@@ -1,3 +1,8 @@
+2006-12-07  Sebastien Pouliot  <[EMAIL PROTECTED]>
+
+       * Icon.cs: Revert a change from r68882. The type is also part of the 
+       icon's name. Fix bug #80181.
+
 2006-12-03  Sebastien Pouliot  <[EMAIL PROTECTED]>
 
        * Icon.cs: Add a new ctor that returns undisposable Icon instances 

Modified: trunk/mcs/class/System.Drawing/System.Drawing/Icon.cs
===================================================================
--- trunk/mcs/class/System.Drawing/System.Drawing/Icon.cs       2006-12-08 
01:00:44 UTC (rev 69213)
+++ trunk/mcs/class/System.Drawing/System.Drawing/Icon.cs       2006-12-08 
01:01:03 UTC (rev 69214)
@@ -174,7 +174,7 @@
 
                public Icon (Type type, string resource)
                {
-                       using (Stream s = 
type.Assembly.GetManifestResourceStream (resource)) {
+                       using (Stream s = 
type.Assembly.GetManifestResourceStream (type, resource)) {
                                if (s == null) {
                                        string msg = Locale.GetText ("Resource 
'{0}' was not found.", resource);
                                        throw new FileNotFoundException (msg);

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to