mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-02-19 01:51:09 +00:00
Delete the extension .project at the name of the applications
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@31590 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c1c7f004d4
commit
28c343707e
2 changed files with 8 additions and 5 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2010-11-05 German Arias <german@xelalug.org>
|
||||||
|
* Modules/Projects/Application/PCAppProject.m:
|
||||||
|
(-createProjectAt:) Delete the extension on the project
|
||||||
|
name to avoid file names like MyApp.project.plist
|
||||||
|
and an ugly name of the app (MyApp.project) at info panel.
|
||||||
|
|
||||||
2010-08-10 Sergii Stoian <stoyan255@ukr.net>
|
2010-08-10 Sergii Stoian <stoyan255@ukr.net>
|
||||||
* Framework/PCProjectBrowser.m:
|
* Framework/PCProjectBrowser.m:
|
||||||
(-nameOfSelectedCategory): Return 'nil' if name of subproject
|
(-nameOfSelectedCategory): Return 'nil' if name of subproject
|
||||||
|
|
|
@ -159,11 +159,8 @@
|
||||||
|
|
||||||
// Customise the project
|
// Customise the project
|
||||||
[self setProjectPath:path];
|
[self setProjectPath:path];
|
||||||
[self setProjectName:[path lastPathComponent]];
|
[self setProjectName:[[path lastPathComponent] stringByDeletingPathExtension]];
|
||||||
if ([[projectName pathExtension] isEqualToString:@"subproj"])
|
|
||||||
{
|
|
||||||
projectName = [projectName stringByDeletingPathExtension];
|
|
||||||
}
|
|
||||||
[projectDict setObject:projectName forKey:PCProjectName];
|
[projectDict setObject:projectName forKey:PCProjectName];
|
||||||
[projectDict setObject:[[NSCalendarDate date] description]
|
[projectDict setObject:[[NSCalendarDate date] description]
|
||||||
forKey:PCCreationDate];
|
forKey:PCCreationDate];
|
||||||
|
|
Loading…
Reference in a new issue