* Theme.cs: Revert last patch, it causes error under win32.
authorEveraldo Canuto <everaldo@mono-cvs.ximian.com>
Mon, 27 Aug 2007 13:15:51 +0000 (13:15 -0000)
committerEveraldo Canuto <everaldo@mono-cvs.ximian.com>
Mon, 27 Aug 2007 13:15:51 +0000 (13:15 -0000)
2007-08-27  Everaldo Canuto  <ecanuto@novell.com>

svn path=/trunk/mcs/; revision=84874

mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/Theme.cs

index 4bbc7f91d8bbf53090a7830fc3c8795455226c34..9e4f775cd28c091f3edfffc748753e24610a3af9 100644 (file)
@@ -1,3 +1,7 @@
+2007-08-27  Everaldo Canuto  <ecanuto@novell.com>
+
+       * Theme.cs: Revert last patch, it causes error under win32. 
+
 2007-08-27  Everaldo Canuto  <ecanuto@novell.com>
 
        * Theme.cs: Uses Environment.SpecialFolder.DesktopDirectory instead of 
index 65cd66c2b7520776fda6601f53b16944c971310d..e9322fad8e2ebeae2254a6738f731cfabf8d2165 100644 (file)
@@ -585,7 +585,7 @@ namespace System.Windows.Forms
 
                                case UIIcon.PlacesDesktop: {
                                        // Default = "Desktop"
-                                       return Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory);
+                                       return Environment.GetFolderPath(Environment.SpecialFolder.Desktop);
                                }
 
                                case UIIcon.PlacesPersonal: {