Author: jpobst
Date: 2007-10-08 17:06:19 -0400 (Mon, 08 Oct 2007)
New Revision: 87132

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

        * NotifyIcon.cs: Set the correct mouse button when handling right mouse
        button.  Fixes a part of bug #331052.

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-10-08 20:57:18 UTC (rev 87131)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-10-08 21:06:19 UTC (rev 87132)
@@ -1,5 +1,10 @@
 2007-10-08  Jonathan Pobst  <[EMAIL PROTECTED]>
 
+       * NotifyIcon.cs: Set the correct mouse button when handling right mouse
+       button.  Fixes a part of bug #331052.
+
+2007-10-08  Jonathan Pobst  <[EMAIL PROTECTED]>
+
        * Form.cs: Trim NewLine before setting XPlatUI.SetText, and when setting
        the CreateParams.
        * ThemeWin32Classic.cs: Trim NewLine before drawing MDI children window

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NotifyIcon.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NotifyIcon.cs    
2007-10-08 20:57:18 UTC (rev 87131)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/NotifyIcon.cs    
2007-10-08 21:06:19 UTC (rev 87132)
@@ -149,7 +149,7 @@
                                                                owner.OnMouseUp 
(new MouseEventArgs(MouseButtons.Right, 1, Control.MousePosition.X, 
Control.MousePosition.Y, 0));
                                                                owner.OnClick 
(EventArgs.Empty);
 #if NET_2_0
-                                                               
owner.OnMouseClick (new MouseEventArgs (MouseButtons.Left, 1, 
Control.MousePosition.X, Control.MousePosition.Y, 0));
+                                                               
owner.OnMouseClick (new MouseEventArgs (MouseButtons.Right, 1, 
Control.MousePosition.X, Control.MousePosition.Y, 0));
 #endif
                                                                return;
                                                        }

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

Reply via email to