[Monodevelop-patches-list] r2424 - in trunk/MonoDevelop/Core/src/MonoDevelop.Base: . Internal/Conditions

John Luke <jluke@cfl.rr.com> jluke at mono-cvs.ximian.com
Tue Apr 5 23:10:33 EDT 2005


Author: jluke
Date: 2005-04-05 23:10:33 -0400 (Tue, 05 Apr 2005)
New Revision: 2424

Modified:
   trunk/MonoDevelop/Core/src/MonoDevelop.Base/ChangeLog
   trunk/MonoDevelop/Core/src/MonoDevelop.Base/Internal/Conditions/WorkbenchContextCondition.cs
Log:
fix comparison so we can see the debugger menus


Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Base/ChangeLog
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Base/ChangeLog	2005-04-06 02:22:06 UTC (rev 2423)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Base/ChangeLog	2005-04-06 03:10:33 UTC (rev 2424)
@@ -1,3 +1,9 @@
+2005-05-04	John Luke	<john.luke at gmail.com>
+
+	* Internal/Conditions/WorkbenchContextCondition.cs:
+	use Id so we can see the debugger menu again, it was
+	comparing the wrong thing
+
 2005-04-01	Christian Hergert	<christian.hergert at gmail.com>
 
 	* Commands/FileCommands.cs: Add Andrew's patch to ask if we want to

Modified: trunk/MonoDevelop/Core/src/MonoDevelop.Base/Internal/Conditions/WorkbenchContextCondition.cs
===================================================================
--- trunk/MonoDevelop/Core/src/MonoDevelop.Base/Internal/Conditions/WorkbenchContextCondition.cs	2005-04-06 02:22:06 UTC (rev 2423)
+++ trunk/MonoDevelop/Core/src/MonoDevelop.Base/Internal/Conditions/WorkbenchContextCondition.cs	2005-04-06 03:10:33 UTC (rev 2424)
@@ -32,7 +32,7 @@
 			if (context == "*")
 				return true;
 
-			if (context == WorkbenchSingleton.Workbench.Context.ToString ())
+			if (context == WorkbenchSingleton.Workbench.Context.Id)
 				return true;
 
 			return false;




More information about the Monodevelop-patches-list mailing list