mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-05 16:56:04 +02:00
patch from Tanya Wolff - Here's a patch that sets titles for "Open" FileDialog and "Browse For Folder" DirectoryDialog which aren't necessary for Windows OS since these dialogs come from the platform and have their own defaults, but for Linux, these dialogs don't have defaults.
Tested on Windows and Linux
This commit is contained in:
parent
30a3b9c06f
commit
09c86e033a
5 changed files with 14 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2004-06-23 Tanya Wolff
|
||||
Fix for bugs 66134,66145
|
||||
* src/org/eclipse/cdt/internal/ui/dialogs/cpaths/CPathEntryMessages.properties
|
||||
* src/org/eclipse/cdt/internal/ui/dialogs/cpaths/CPathIncludeSymbolEntryPage.java
|
||||
* src/org/eclipse/cdt/internal/ui/wizards/NewWizardMessages.properties
|
||||
* src/org/eclipse/cdt/internal/ui/wizards/dialogfields/LinkToFileGroup.java
|
||||
|
||||
2004-06-23 Tanya Wolff
|
||||
Fix for Bug 66300 - i18n: File Types preferences buttons don't expand
|
||||
* src/org/eclipse/cdt/internal/ui/preferences/CFileTypesPreferences.java
|
||||
|
|
|
@ -82,6 +82,7 @@ IncludeSymbolEntryPage.fromWorkspaceDialog.edit.title=Edit Include Path from Wor
|
|||
IncludeSymbolEntryPage.fromWorkspaceDialog.edit.description=Select a folder as a include path from the workspace.
|
||||
IncludeSymbolEntryPage.newResource.title=Add File/Folder
|
||||
IncludeSymbolEntryPage.newResource.description=Select a file or folder to add to the include/symbol list to add/remove paths or symbols on.
|
||||
IncludeSymbolEntryPage.browseForFolder=Browse For Folder
|
||||
|
||||
# ------- CPathContainerEntryPage ------
|
||||
ContainerEntryPage.title=Path Containers
|
||||
|
|
|
@ -1045,6 +1045,7 @@ public class CPathIncludeSymbolEntryPage extends CPathBasePage {
|
|||
|
||||
public void widgetSelected(SelectionEvent ev) {
|
||||
DirectoryDialog dialog = new DirectoryDialog(getShell(), SWT.OPEN);
|
||||
dialog.setText(CPathEntryMessages.getString("IncludeSymbolEntryPage.browseForFolder")); //$NON-NLS-1$
|
||||
String currentName = getText().getText();
|
||||
if (currentName != null && currentName.trim().length() != 0) {
|
||||
dialog.setFilterPath(currentName);
|
||||
|
|
|
@ -155,6 +155,7 @@ NewClassWizardPage.files.linkFileButton=Link to file
|
|||
CreateLinkedResourceGroup.resolvedPathLabel=Resolved Location:
|
||||
CreateLinkedResourceGroup.browseButton=Browse...
|
||||
CreateLinkedResourceGroup.variablesButton=Variables...
|
||||
CreateLinkedResourceGroup.open=Open
|
||||
|
||||
NewClassWizardPage.error.EnterClassName=Class name is empty.
|
||||
NewClassWizardPage.error.ClassNameExists=Class already exists.
|
||||
|
@ -413,3 +414,5 @@ OutputLocationDialog.ChooseOutputFolder.description=&Choose the folder for the b
|
|||
|
||||
ClasspathContainerWizard.pagecreationerror.title= Library Wizard
|
||||
ClasspathContainerWizard.pagecreationerror.message=Wizard page creation failed. Check log for details.
|
||||
|
||||
|
||||
|
|
|
@ -254,6 +254,7 @@ public class LinkToFileGroup extends StringButtonDialogField {
|
|||
}
|
||||
if (type == IResource.FILE) {
|
||||
FileDialog dialog = new FileDialog(linkTargetField.getShell());
|
||||
dialog.setText(NewWizardMessages.getString("CreateLinkedResourceGroup.open")); //$NON-NLS-1$
|
||||
if (file != null) {
|
||||
if (file.isFile())
|
||||
dialog.setFileName(linkTargetName);
|
||||
|
@ -264,6 +265,7 @@ public class LinkToFileGroup extends StringButtonDialogField {
|
|||
}
|
||||
else {
|
||||
DirectoryDialog dialog = new DirectoryDialog(linkTargetField.getShell());
|
||||
dialog.setText(NewWizardMessages.getString("CreateLinkedResourceGroup.open")); //$NON-NLS-1$
|
||||
if (file != null) {
|
||||
if (file.isFile())
|
||||
linkTargetName = file.getParent();
|
||||
|
|
Loading…
Add table
Reference in a new issue