diff options
author | Greg Munn <gregm@microsoft.com> | 2019-10-28 19:24:38 +0300 |
---|---|---|
committer | Greg Munn <gregm@microsoft.com> | 2019-10-28 19:24:38 +0300 |
commit | dd7b95a04eabf8e6f2e21be862cbd0d0b6770e09 (patch) | |
tree | eca27fe6c72ddd2e1bae331796e247ae31570920 /main | |
parent | 16673464c2171739700b31b831c0aaa9d01541b4 (diff) |
[Debugger/A11y] Set labels for radios, remove descriptions
Diffstat (limited to 'main')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects.OptionPanels/AssemblyRunConfigurationEditor.cs | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects.OptionPanels/AssemblyRunConfigurationEditor.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects.OptionPanels/AssemblyRunConfigurationEditor.cs index 76d4db21aa..00b61676c7 100644 --- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects.OptionPanels/AssemblyRunConfigurationEditor.cs +++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects.OptionPanels/AssemblyRunConfigurationEditor.cs @@ -90,7 +90,8 @@ namespace MonoDevelop.Ide.Projects.OptionPanels VBox mainBox = new VBox (); mainBox.Margin = 12; - mainBox.PackStart (new Label { Markup = GettextCatalog.GetString ("Start Action") }); + var startActionlabel = new Label { Markup = GettextCatalog.GetString ("Start Action") }; + mainBox.PackStart (startActionlabel); var table = new Table (); table.Add (radioStartProject = new RadioButton (GettextCatalog.GetString ("Start project")), 0, 0); @@ -102,8 +103,10 @@ namespace MonoDevelop.Ide.Projects.OptionPanels table.MarginLeft = 12; mainBox.PackStart (table); + radioStartProject.Accessible.LabelWidget = startActionlabel; + radioStartApp.Accessible.LabelWidget = startActionlabel; + appEntry.Accessible.Label = GettextCatalog.GetString ("External Program"); - appEntry.Accessible.Description = GettextCatalog.GetString ("Choose the external program to start the project."); mainBox.PackStart (new HSeparator () { MarginTop = 8, MarginBottom = 8 }); table = new Table (); @@ -112,13 +115,11 @@ namespace MonoDevelop.Ide.Projects.OptionPanels table.Add (argumentsLabel, 0, 0); table.Add (argumentsEntry = new TextEntry (), 1, 0, hexpand:true); argumentsEntry.Accessible.LabelWidget = argumentsLabel; - argumentsEntry.Accessible.Description = GettextCatalog.GetString ("Set any additional arguments to pass."); var workingDirLabel = new Label (GettextCatalog.GetString ("Run in directory:")); table.Add (workingDirLabel, 0, 1); table.Add (workingDir = new FolderSelector (), 1, 1, hexpand: true); workingDir.Accessible.LabelWidget = workingDirLabel; - workingDir.Accessible.Description = GettextCatalog.GetString ("Choose the directory to run the project in."); mainBox.PackStart (table); @@ -128,7 +129,6 @@ namespace MonoDevelop.Ide.Projects.OptionPanels mainBox.PackStart (envVarsLabel); envVars = new EnvironmentVariableCollectionEditor (); envVars.Accessible.LabelWidget = envVarsLabel; - envVars.Accessible.Description = GettextCatalog.GetString ("Set additional environment variables for the project."); mainBox.PackStart (envVars, true); @@ -148,7 +148,6 @@ namespace MonoDevelop.Ide.Projects.OptionPanels table.Add (new Label (GettextCatalog.GetString ("Execute in .NET Runtime:")), 0, 0); table.Add (runtimesCombo = new ComboBox (), 1, 0, hexpand:true); runtimesCombo.Accessible.Label = GettextCatalog.GetString (".NET Runtime"); - runtimesCombo.Accessible.Description = GettextCatalog.GetString ("Choose the .NET Runtime to execute the project with."); var monoLabel = new Label (GettextCatalog.GetString ("Mono runtime settings:")); table.Add (monoLabel, 0, 1); @@ -162,7 +161,6 @@ namespace MonoDevelop.Ide.Projects.OptionPanels adBox.PackStart (table); monoSettingsButton.Accessible.LabelWidget = monoLabel; - monoSettingsButton.Accessible.Description = GettextCatalog.GetString ("Set the Mono runtime settings."); if (includeAdvancedTab) Add (adBox, GettextCatalog.GetString ("Advanced")); |