Author: jpobst
Date: 2007-04-30 09:53:13 -0400 (Mon, 30 Apr 2007)
New Revision: 76493
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuStrip.cs
Log:
2007-04-30 Jonathan Pobst <[EMAIL PROTECTED]>
* MenuStrip.cs: Don't let multiple ToolStripSeparators get added to
the MDI menu item. [Fixes bug #81483]
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-04-30 13:42:28 UTC (rev 76492)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-04-30 13:53:13 UTC (rev 76493)
@@ -1,3 +1,8 @@
+2007-04-30 Jonathan Pobst <[EMAIL PROTECTED]>
+
+ * MenuStrip.cs: Don't let multiple ToolStripSeparators get added to
+ the MDI menu item. [Fixes bug #81483]
+
2007-04-30 Gert Driesen <[EMAIL PROTECTED]>
* DataGridViewColumn.cs: Initialize value of headercell to zero-length
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuStrip.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuStrip.cs
2007-04-30 13:42:28 UTC (rev 76492)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuStrip.cs
2007-04-30 13:53:13 UTC (rev 76493)
@@ -237,7 +237,7 @@
continue;
if ((tsi = FindMdiMenuItemOfForm (mdichild)) ==
null) {
- if (CountMdiMenuItems () == 0 &&
this.mdi_window_list_item.DropDownItems.Count > 0)
+ if (CountMdiMenuItems () == 0 &&
this.mdi_window_list_item.DropDownItems.Count > 0 &&
!(this.mdi_window_list_item.DropDownItems[this.mdi_window_list_item.DropDownItems.Count
- 1] is ToolStripSeparator))
this.mdi_window_list_item.DropDownItems.Add (new ToolStripSeparator ());
tsi = new ToolStripMenuItem ();
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches