diff options
author | iain holmes <iain@xamarin.com> | 2017-02-20 18:51:11 +0300 |
---|---|---|
committer | iain holmes <iain@xamarin.com> | 2017-02-20 18:51:11 +0300 |
commit | ee1e31864b20102dd2b8c232eb55415a7ec33e66 (patch) | |
tree | edd59f0f6949d523fb9ed8227700352d1690f4fd /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components | |
parent | b99a39b137c76bfd385aa79acb189edf6d460a7b (diff) |
[A11y] Automatically detect supported actions
Refactor ActionDelegate to automatically detect supported actions by tracking which
event handlers are connected to.
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/ExtensibleTreeView.cs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/ExtensibleTreeView.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/ExtensibleTreeView.cs index 1c99a0f487..f1c7a71f99 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/ExtensibleTreeView.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Components/ExtensibleTreeView.cs @@ -246,11 +246,6 @@ namespace MonoDevelop.Ide.Gui.Components // Add an extra action handler to the tree to handle Press actions var actionHandler = tree.ActionHandler; - var actions = new AtkCocoa.Actions [actionHandler.Actions.Length + 1]; - Array.Copy (actionHandler.Actions, actions, actionHandler.Actions.Length); - actions [actionHandler.Actions.Length] = AtkCocoa.Actions.AXPress; - actionHandler.Actions = actions; - actionHandler.PerformPress += OnPerformPress; workNode = new TreeNodeNavigator (this); |