[Monodevelop-patches-list] r2494 - trunk/MonoDevelop/Core/src/MonoDevelop.Dock
John Luke <jluke@cfl.rr.com>
jluke at mono-cvs.ximian.com
Thu Apr 28 23:00:42 EDT 2005
Author: jluke
Date: 2005-04-28 23:00:42 -0400 (Thu, 28 Apr 2005)
New Revision: 2494
Modified:
trunk/MonoDevelop/Core/src/MonoDevelop.Dock/ChangeLog
trunk/MonoDevelop/Core/src/MonoDevelop.Dock/DockBar.cs
trunk/MonoDevelop/Core/src/MonoDevelop.Dock/DockItem.cs
Log:
little cleanup for iconify/deiconify
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Dock/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Dock/ChangeLog 2005-04-28 23:46:53 UTC (rev 2493)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Dock/ChangeLog 2005-04-29 03:00:42 UTC (rev 2494)
@@ -1,3 +1,8 @@
+2005-04-28 John Luke <john.luke at gmail.com>
+
+ * DockBar.cs: remove redundent RemoveItem call
+ * DockItem.cs: remove redundent LayoutChanged event
+
2005-04-17 John Luke <john.luke at gmail.com>
* Makefile.am: fix distcheck
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Dock/DockBar.cs
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Dock/DockBar.cs 2005-04-28 23:46:53 UTC (rev 2493)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Dock/DockBar.cs 2005-04-29 03:00:42 UTC (rev 2494)
@@ -132,7 +132,6 @@
DockItem item = ((DockBarButton) o).DockItem;
item.DockBar = null;
item.ShowItem ();
- this.RemoveItem (item);
item.Master.Controller.QueueResize ();
}
}
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Dock/DockItem.cs
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Dock/DockItem.cs 2005-04-28 23:46:53 UTC (rev 2493)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Dock/DockItem.cs 2005-04-29 03:00:42 UTC (rev 2494)
@@ -920,7 +920,6 @@
{
DockObjectFlags |= DockObjectFlags.Iconified;
HideItem ();
- Master.EmitLayoutChangedEvent ();
}
public void ShowItem ()
More information about the Monodevelop-patches-list
mailing list