Author: jpobst
Date: 2007-09-19 15:41:20 -0400 (Wed, 19 Sep 2007)
New Revision: 86038

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Theme.cs
Log:
2007-09-19  Jonathan Pobst  <[EMAIL PROTECTED]>

        * Theme.cs: FileDialogs should be using DesktopDirectory instead of
        Desktop.  This lets it work for people who have moved their desktops
        from the default location on windows.  For people who have not, both
        values are the same, so it shouldn't hurt anything.  [Fixes bug #325270]

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-09-19 19:38:17 UTC (rev 86037)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-09-19 19:41:20 UTC (rev 86038)
@@ -1,3 +1,10 @@
+2007-09-19  Jonathan Pobst  <[EMAIL PROTECTED]>
+
+       * Theme.cs: FileDialogs should be using DesktopDirectory instead of
+       Desktop.  This lets it work for people who have moved their desktops
+       from the default location on windows.  For people who have not, both
+       values are the same, so it shouldn't hurt anything.  [Fixes bug #325270]
+
 2007-09-18  Jonathan Pobst  <[EMAIL PROTECTED]>
 
        * ToolStripControlHostTest.cs: DefaultSize is based off hosted control,

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Theme.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Theme.cs 
2007-09-19 19:38:17 UTC (rev 86037)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Theme.cs 
2007-09-19 19:41:20 UTC (rev 86038)
@@ -585,7 +585,7 @@
 
                                case UIIcon.PlacesDesktop: {
                                        // Default = "Desktop"
-                                       return 
Environment.GetFolderPath(Environment.SpecialFolder.Desktop);
+                                       return 
Environment.GetFolderPath(Environment.SpecialFolder.DesktopDirectory);
                                }
 
                                case UIIcon.PlacesPersonal: {

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

Reply via email to