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:
authorMike Krüger <mkrueger@xamarin.com>2011-09-12 13:53:36 +0400
committerMike Krüger <mkrueger@xamarin.com>2011-09-12 13:53:36 +0400
commit708dde8873a5ea3c88ae2746c8bb37a064db75e6 (patch)
tree7bb59d85174911c72dc13885b222f65f96832e46 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands
parent8fdb2b8ac5e27ae006f212b645c18bda2a4b0ad3 (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/MonoDevelop.Ide.Commands')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/ViewCommands.cs6
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;