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:
authoriain holmes <iain@xamarin.com>2017-04-12 18:17:16 +0300
committeriain holmes <iain@xamarin.com>2017-04-12 18:17:49 +0300
commit2bacf0ea41c33e6b963e0c67c8653b446404b95b (patch)
tree3ee5811545c2a2e03559717baddb68fac792764f /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects.OptionPanels
parent28752bd44c98ac0243096ca82c0bd9514e1a5f63 (diff)
[A11y] Improve the accessibility of the Custom Command Widget
Fixes BXC #53542
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects.OptionPanels')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects.OptionPanels/CustomCommandWidget.cs10
1 files changed, 9 insertions, 1 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects.OptionPanels/CustomCommandWidget.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects.OptionPanels/CustomCommandWidget.cs
index 5cb485755e..f016c28e3e 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects.OptionPanels/CustomCommandWidget.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects.OptionPanels/CustomCommandWidget.cs
@@ -1,4 +1,4 @@
-// CustomCommandWidget.cs
+// CustomCommandWidget.cs
//
// Author:
// Lluis Sanchez Gual <lluis@novell.com>
@@ -30,6 +30,8 @@ using System;
using MonoDevelop.Core;
using MonoDevelop.Projects;
using MonoDevelop.Components;
+using MonoDevelop.Components.AtkCocoaHelper;
+
using MonoDevelop.Core.StringParsing;
namespace MonoDevelop.Ide.Projects.OptionPanels
@@ -86,9 +88,15 @@ namespace MonoDevelop.Ide.Projects.OptionPanels
tagSelectorDirectory.TagModel = tagModel;
tagSelectorDirectory.TargetEntry = workingdirEntry;
+ tagSelectorDirectory.ButtonAccessible.SetCommonAttributes ("CustomCommand.TagSelectorDirectory",
+ GettextCatalog.GetString ("Tag Selector"),
+ GettextCatalog.GetString ("Insert a custom tag into the directory entry"));
tagSelectorCommand.TagModel = tagModel;
tagSelectorCommand.TargetEntry = entryCommand;
+ tagSelectorCommand.ButtonAccessible.SetCommonAttributes ("CustomCommand.TagSelector",
+ GettextCatalog.GetString ("Tag Selector"),
+ GettextCatalog.GetString ("Insert a custom tag into the command entry"));
}
public CustomCommand CustomCommand {