diff options
author | iain holmes <iain@xamarin.com> | 2018-10-05 19:18:55 +0300 |
---|---|---|
committer | iain holmes <iain@xamarin.com> | 2018-10-05 19:18:55 +0300 |
commit | f891e54cc64b9e7f80d248b08a52433426637fd4 (patch) | |
tree | 3b81ed01505ae686715f12f028b5d43e5517afbb /main/src/addins/MonoDevelop.HexEditor | |
parent | 40a69ae41bbb554856b0d568d3086d6204ec6397 (diff) |
[A11y] Set the accessibility attributes of the group width combobox
Fixes VSTS #648988
Diffstat (limited to 'main/src/addins/MonoDevelop.HexEditor')
-rw-r--r-- | main/src/addins/MonoDevelop.HexEditor/Mono.MHex/HexEditorDebugger.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/main/src/addins/MonoDevelop.HexEditor/Mono.MHex/HexEditorDebugger.cs b/main/src/addins/MonoDevelop.HexEditor/Mono.MHex/HexEditorDebugger.cs index 9419238d43..28bac51da9 100644 --- a/main/src/addins/MonoDevelop.HexEditor/Mono.MHex/HexEditorDebugger.cs +++ b/main/src/addins/MonoDevelop.HexEditor/Mono.MHex/HexEditorDebugger.cs @@ -27,6 +27,8 @@ using System; using Mono.MHex.Data; using MonoDevelop.HexEditor; using Xwt; +using MonoDevelop.Components.AtkCocoaHelper; +using MonoDevelop.Core; namespace Mono.MHex { @@ -72,6 +74,8 @@ namespace Mono.MHex { editor.HexEditorStyle = new MonoDevelopHexEditorStyle (editor); var comboBox = new ComboBox (); + comboBox.Accessible.SetCommonAttributes ("HexEditor.BitCombo", GettextCatalog.GetString ("Group Width"), + GettextCatalog.GetString ("Select how the hex data is grouped")); comboBox.Items.Add ("Hex 8"); comboBox.Items.Add ("Hex 16"); comboBox.SelectedIndex = 0; |