diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2011-11-17 01:02:24 +0400 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2011-11-17 01:02:24 +0400 |
commit | c91893dbf8a34b19e79f82e9820c4a621b4457a8 (patch) | |
tree | 050a4d266ad8f725696b5e486b11d34f4db5f05a /main/src/addins/MonoDevelop.SourceEditor2 | |
parent | 1dec7b308b82dccee46cfac9e6fbbc3df91a03b4 (diff) |
Disabled context actions & quick task strip.
Diffstat (limited to 'main/src/addins/MonoDevelop.SourceEditor2')
-rw-r--r-- | main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/QuickTaskStrip.cs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/QuickTaskStrip.cs b/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/QuickTaskStrip.cs index 9ffbb10b3c..3dff32e3bf 100644 --- a/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/QuickTaskStrip.cs +++ b/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/QuickTaskStrip.cs @@ -922,8 +922,8 @@ namespace MonoDevelop.SourceEditor public QuickTaskStrip () { - ScrollBarMode = PropertyService.Get ("ScrollBar.Mode", ScrollBarMode.Map); - PropertyService.AddPropertyHandler ("ScrollBar.Mode", ScrollBarModeChanged); + ScrollBarMode = ScrollBarMode.Normal; //PropertyService.Get ("ScrollBar.Mode", ScrollBarMode.Map); +// PropertyService.AddPropertyHandler ("ScrollBar.Mode", ScrollBarModeChanged); Events |= EventMask.ButtonPressMask; } @@ -992,10 +992,10 @@ namespace MonoDevelop.SourceEditor protected override bool OnButtonPressEvent (EventButton evnt) { - if (evnt.Button == 3) { + /* if (evnt.Button == 3) { var cset = IdeApp.CommandService.CreateCommandEntrySet ("/MonoDevelop/SourceEditor2/ContextMenu/Scrollbar"); IdeApp.CommandService.ShowContextMenu (cset, this); - } + }*/ return base.OnButtonPressEvent (evnt); } |