[Monodevelop-patches-list] r2359 - trunk/MonoDevelop/Core/src/MonoDevelop.Dock
John Luke <jluke@cfl.rr.com>
jluke at mono-cvs.ximian.com
Tue Mar 15 20:34:39 EST 2005
Author: jluke
Date: 2005-03-15 20:34:39 -0500 (Tue, 15 Mar 2005)
New Revision: 2359
Modified:
trunk/MonoDevelop/Core/src/MonoDevelop.Dock/DockItemGrip.cs
Log:
show/hide grip buttons when item.Locked changes
Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Dock/DockItemGrip.cs
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Dock/DockItemGrip.cs 2005-03-16 00:35:59 UTC (rev 2358)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Dock/DockItemGrip.cs 2005-03-16 01:34:39 UTC (rev 2359)
@@ -181,10 +181,11 @@
case "LongName":
Title = item.LongName;
break;
+ case "Locked":
case "Behavior":
bool cursor = false;
- if (item.CantClose) {
+ if (item.CantClose || item.Locked) {
closeButton.Hide ();
}
else {
@@ -192,7 +193,7 @@
cursor = true;
}
- if (item.CantIconify) {
+ if (item.CantIconify || item.Locked) {
iconifyButton.Hide ();
}
else {
More information about the Monodevelop-patches-list
mailing list