Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeffrey Stedfast <jeff@xamarin.com>2011-09-09 19:27:17 +0400
committerJeffrey Stedfast <jeff@xamarin.com>2011-09-09 19:27:17 +0400
commitc76056ad2ff230a145e7fb6c288f8c4252f0cb56 (patch)
treefccc63d5bd9e742dae4cf1b01781d301d2253934 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands
parenta2d34a88e6f399260eaf2ec7d807533942112de3 (diff)
[Ide.Commands] Don't allow the Quit menu to ever become grey'd out.
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs7
1 files changed, 6 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs
index 55cfaf8a28..fd6a1052ae 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs
@@ -346,7 +346,7 @@ namespace MonoDevelop.Ide.Commands
internal class ClearRecentProjectsHandler : CommandHandler
{
protected override void Run()
- {
+ {
try {
string title = GettextCatalog.GetString ("Clear recent projects");
string question = GettextCatalog.GetString ("Are you sure you want to clear recent projects list?");
@@ -371,6 +371,11 @@ namespace MonoDevelop.Ide.Commands
{
IdeApp.Exit ();
}
+
+ protected override void Update (CommandInfo info)
+ {
+ info.Enabled = true;
+ }
}
// MonoDevelop.Ide.Commands.FileTabCommands.CloseAllButThis Implemented in FileTabCommands.cs
// MonoDevelop.Ide.Commands.CopyPathNameHandler Implemented in FileTabCommands.cs