Skip to content
This repository was archived by the owner on Oct 4, 2021. It is now read-only.

Commit f8e47ae

Browse files
author
Rodrigo Moya
authored
Merge pull request #8930 from mono/fix/753511-doubled-vo-strings
[753511] Fixed doubled VO strings
2 parents 106b837 + 362a545 commit f8e47ae

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects.OptionPanels/BaseDirectoryPanelWidget.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,7 @@ public BaseDirectoryPanelWidget()
4343
this.Build();
4444

4545
label2.Accessible.SetShouldIgnore (true);
46-
var a = folderentry.EntryAccessible;
47-
a.SetTitleUIElement (label3.Accessible);
48-
label3.Accessible.SetTitleFor (a);
46+
label3.Accessible.SetTitleFor (folderentry.EntryAccessible);
4947
SetupAccessibility ();
5048
}
5149

main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects.OptionPanels/GeneralProjectOptions.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -85,13 +85,11 @@ void SetAccessibilityAttributes ()
8585
informationHeaderLabel.Accessible.SetTitleFor (table11.Accessible);
8686
table11.Accessible.SetTitleUIElement (informationHeaderLabel.Accessible);
8787

88-
projectNameEntry.Accessible.SetTitleUIElement (nameLabel.Accessible);
8988
projectNameEntry.SetCommonAccessibilityAttributes ("GeneralProjectOptions.ProjectNameEntry",
9089
GettextCatalog.GetString ("Project Name"),
9190
GettextCatalog.GetString ("Enter the project name"));
9291
nameLabel.Accessible.SetTitleFor (projectNameEntry.Accessible);
9392

94-
entryVersion.Accessible.SetTitleUIElement (label1.Accessible);
9593
entryVersion.SetCommonAccessibilityAttributes ("GeneralProjectOptions.VersionEntry",
9694
GettextCatalog.GetString ("Project Version"),
9795
GettextCatalog.GetString ("Enter the project version"));
@@ -100,14 +98,12 @@ void SetAccessibilityAttributes ()
10098
checkSolutionVersion.SetCommonAccessibilityAttributes ("GeneralProjectOptions.SolutionVersion", "",
10199
GettextCatalog.GetString ("Check to use the same version as the solution"));
102100

103-
projectDescriptionTextView.Accessible.SetTitleUIElement (descriptionLabel.Accessible);
104101
descriptionLabel.Accessible.SetTitleFor (projectDescriptionTextView.Accessible);
105102

106103
projectDescriptionTextView.SetCommonAccessibilityAttributes ("GeneralProjectOptions.Description",
107104
GettextCatalog.GetString ("Project Description"),
108105
GettextCatalog.GetString ("Enter a description of the project"));
109106

110-
projectDefaultNamespaceEntry.Accessible.SetTitleUIElement (defaultNamespaceLabel.Accessible);
111107
projectDefaultNamespaceEntry.SetCommonAccessibilityAttributes ("GeneralProjectOptions.Namespace",
112108
GettextCatalog.GetString ("Default Namespace"),
113109
GettextCatalog.GetString ("Enter the default namespace for the project"));

0 commit comments

Comments
 (0)