Author: everaldo
Date: 2007-01-02 05:52:37 -0500 (Tue, 02 Jan 2007)
New Revision: 70339

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuAPI.cs
Log:
        * MenuAPI.cs: Prevent second level and beyond submenus to close
        until first level when move out side of popup.
        
2007-01-02  Everaldo Canuto  <[EMAIL PROTECTED]>



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-01-02 09:51:45 UTC (rev 70338)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-01-02 10:52:37 UTC (rev 70339)
@@ -1,5 +1,10 @@
 2007-01-02  Everaldo Canuto  <[EMAIL PROTECTED]>
 
+       * MenuAPI.cs: Prevent second level and beyond submenus to close
+       until first level when move out side of popup.
+       
+2007-01-02  Everaldo Canuto  <[EMAIL PROTECTED]>
+
        * MenuAPI.cs:
        - Down submenu positin in three pixels.
        - Closes sub menu when mouse leaves from menu. Fixes #80402.

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuAPI.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuAPI.cs       
2007-01-02 09:51:45 UTC (rev 70338)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuAPI.cs       
2007-01-02 10:52:37 UTC (rev 70339)
@@ -167,6 +167,8 @@
                                if (keynav_state == KeyNavState.Navigating)
                                        return;
                                
+                               keynav_state = KeyNavState.Navigating;
+                               
                                // Select parent menu when move outside of menu 
item
                                if (old_item.Parent is MenuItem) {
                                        MenuItem new_item = (old_item.Parent as 
MenuItem);

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

Reply via email to