diff options
author | iain holmes <iain@xamarin.com> | 2017-06-14 13:47:15 +0300 |
---|---|---|
committer | iain holmes <iain@xamarin.com> | 2017-06-14 14:17:20 +0300 |
commit | ade896664b8729880574a7753eb53f3c11b05c66 (patch) | |
tree | 7f4bf0e4709694ef903fc5bbd48dd4c87935f8bc /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Execution | |
parent | 09ca7fb800aa53799ce968430b8b0e6ae895ceb1 (diff) |
[A11y] Simplify the API for adding label relationships
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Execution')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Execution/CustomExecutionModeWidget.cs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Execution/CustomExecutionModeWidget.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Execution/CustomExecutionModeWidget.cs index 5c28cdf9bd..c9b0cc5de9 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Execution/CustomExecutionModeWidget.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Execution/CustomExecutionModeWidget.cs @@ -46,13 +46,11 @@ namespace MonoDevelop.Ide.Execution folderEntry.EntryAccessible.SetTitleUIElement (label2.Accessible); label2.Accessible.SetTitleFor (folderEntry.EntryAccessible); - entryArgs.SetCommonAccessibilityAttributes ("CustomExecutionMode.Arguments", null, + entryArgs.SetCommonAccessibilityAttributes ("CustomExecutionMode.Arguments", label4, GettextCatalog.GetString ("Enter any custom arguments to be passed to the executable")); - entryArgs.SetAccessibilityLabelRelationship (label4); - envVarList.SetCommonAccessibilityAttributes ("CustomExecutionMode.Variables", null, + envVarList.SetCommonAccessibilityAttributes ("CustomExecutionMode.Variables", label3, GettextCatalog.GetString ("Enter any custom environment variables")); - envVarList.SetAccessibilityLabelRelationship (label3); } #region IExecutionModeEditor implementation |