diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2011-09-12 13:53:36 +0400 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2011-09-12 13:53:36 +0400 |
commit | 708dde8873a5ea3c88ae2746c8bb37a064db75e6 (patch) | |
tree | 7bb59d85174911c72dc13885b222f65f96832e46 /main/src/core/MonoDevelop.Ide | |
parent | 8fdb2b8ac5e27ae006f212b645c18bda2a4b0ad3 (diff) |
Fixed 'Bug 693 - Trident: View/Fullscreen menu option should show a
checkmark depending on the current state'.
Diffstat (limited to 'main/src/core/MonoDevelop.Ide')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ViewCommands.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ViewCommands.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ViewCommands.cs index b5d2a776da..81eb8a1d1e 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ViewCommands.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ViewCommands.cs @@ -170,6 +170,12 @@ namespace MonoDevelop.Ide.Commands // MonoDevelop.Ide.Commands.ViewCommands.FullScreen public class FullScreenHandler : CommandHandler { + protected override void Update (CommandInfo info) + { + base.Update (info); + info.Checked = IdeApp.Workbench.FullScreen; + } + protected override void Run () { IdeApp.Workbench.FullScreen = !IdeApp.Workbench.FullScreen; |