Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-patch] Patch: bugzilla 25784

> 
> This patch fixes bugzilla 25784.
> 

Applied, thanks.

> 
> Index: ChangeLog
> from  Tom Tromey  <tromey@xxxxxxxxxx>
> 
> 	Fix for Bugzilla 25784.
> 	* src/org/eclipse/cdt/ui/wizards/CProjectWizardPage.java
> 	(validatePage): Allow project name to contain a space.
> 	* src/org/eclipse/cdt/internal/ui/CPluginResources.properties
> 	(CProjectWizardPage.projectContainsSpace): Removed.
> 
> Index: src/org/eclipse/cdt/internal/ui/CPluginResources.properties
> ===================================================================
> RCS file: /home/tools/org.eclipse.cdt.ui/src/org/eclipse/cdt/internal/ui/CPluginResources.properties,v
> retrieving revision 1.7
> diff -u -r1.7 CPluginResources.properties
> --- src/org/eclipse/cdt/internal/ui/CPluginResources.properties 31 Oct 2002 19:30:58 -0000 1.7
> +++ src/org/eclipse/cdt/internal/ui/CPluginResources.properties 6 Nov 2002 18:09:55 -0000
> @@ -35,7 +35,6 @@
>  CProjectWizardPage.locationLabel=Location:
>  CProjectWizardPage.browseLabel=Browse...
>  CProjectWizardPage.projectNameEmpty=Project name must be specified.
> -CProjectWizardPage.projectContainsSpace=Project name contains space.
>  CProjectWizardPage.defaultLocationError=Location path can not overlap with default location.
>  CProjectWizardPage.projectExistsMessage=Project already exists.
>  
> Index: src/org/eclipse/cdt/ui/wizards/CProjectWizardPage.java
> ===================================================================
> RCS file: /home/tools/org.eclipse.cdt.ui/src/org/eclipse/cdt/ui/wizards/CProjectWizardPage.java,v
> retrieving revision 1.5
> diff -u -r1.5 CProjectWizardPage.java
> --- src/org/eclipse/cdt/ui/wizards/CProjectWizardPage.java 29 Oct 2002 21:40:58 -0000 1.5
> +++ src/org/eclipse/cdt/ui/wizards/CProjectWizardPage.java 6 Nov 2002 18:09:58 -0000
> @@ -304,11 +304,6 @@
>  			return false;
>  		}
>  
> -		if (projectFieldContents.indexOf(' ') != -1) {
> -			setErrorMessage(CUIPlugin.getResourceString("CProjectWizardPage.projectContainsSpace")); //$NON-NLS-1$
> -			return false;
> -		}
> -
>  		IStatus nameStatus =
>  			workspace.validateName(projectFieldContents, IResource.PROJECT);
>  		if (!nameStatus.isOK()) {
> _______________________________________________
> cdt-patch mailing list
> cdt-patch@xxxxxxxxxxx
> http://dev.eclipse.org/mailman/listinfo/cdt-patch
> 



Back to the top