diff options
author | Lluis Sanchez <lluis@novell.com> | 2009-12-01 12:47:55 +0300 |
---|---|---|
committer | Lluis Sanchez <lluis@novell.com> | 2009-12-01 12:47:55 +0300 |
commit | ab32048dab6d3167129a819e1dbb2a88e6216a78 (patch) | |
tree | 1d60673cbcf5bf6cf7ff4b4cb25632a4815916bc /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands | |
parent | bf6f75cb0e4366365dad6d1a037fb1aabc34ac66 (diff) |
Introduced the ConfigurationSelector class to all methods that
previously took a configuration name as string. This eliminates the
ambiguity between solution configuration names and project
configuration names.
svn path=/trunk/monodevelop/; revision=147198
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ProjectCommands.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ProjectCommands.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ProjectCommands.cs index f31e16b61e..77f81c5c17 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ProjectCommands.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ProjectCommands.cs @@ -499,7 +499,7 @@ namespace MonoDevelop.Ide.Commands if (IdeApp.Workspace.IsOpen) { foreach (var conf in IdeApp.Workspace.GetConfigurations ()) { var i = info.Add (conf, conf); - if (conf == IdeApp.Workspace.ActiveConfiguration) + if (conf == IdeApp.Workspace.ActiveConfigurationId) i.Checked = true; } } @@ -507,7 +507,7 @@ namespace MonoDevelop.Ide.Commands protected override void Run (object dataItem) { - IdeApp.Workspace.ActiveConfiguration = (string) dataItem; + IdeApp.Workspace.ActiveConfigurationId = (string) dataItem; } } |