Author: jpobst
Date: 2007-11-20 17:47:12 -0500 (Tue, 20 Nov 2007)
New Revision: 90044

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

        * Application.cs: Revert r89650, as it broke a common case to fix
        an obscure case.  Fixes bug #342606.

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs   
2007-11-20 22:40:33 UTC (rev 90043)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Application.cs   
2007-11-20 22:47:12 UTC (rev 90044)
@@ -242,7 +242,7 @@
 
                public static string ExecutablePath {
                        get {
-                               return Path.GetFullPath 
(Process.GetCurrentProcess ().MainModule.FileName);
+                               return Assembly.GetEntryAssembly().Location;
                        }
                }
 

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-11-20 22:40:33 UTC (rev 90043)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-11-20 22:47:12 UTC (rev 90044)
@@ -1,3 +1,8 @@
+2007-11-20  Jonathan Pobst  <[EMAIL PROTECTED]>
+
+       * Application.cs: Revert r89650, as it broke a common case to fix
+       an obscure case.  Fixes bug #342606.
+
 2007-11-20  Everaldo Canuto  <[EMAIL PROTECTED]>
 
        * ThemeWin32Classic.cs: Fix extra space on end of tooltip.

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

Reply via email to