diff options
author | Jeffrey Stedfast <jeff@xamarin.com> | 2011-09-09 19:27:17 +0400 |
---|---|---|
committer | Jeffrey Stedfast <jeff@xamarin.com> | 2011-09-09 19:27:17 +0400 |
commit | c76056ad2ff230a145e7fb6c288f8c4252f0cb56 (patch) | |
tree | fccc63d5bd9e742dae4cf1b01781d301d2253934 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands | |
parent | a2d34a88e6f399260eaf2ec7d807533942112de3 (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.cs | 7 |
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 |