mirror of
https://github.com/gnustep/apps-projectcenter.git
synced 2025-03-18 08:33:06 +00:00
Fix loading 0.3.x Gorm project
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@19498 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
be9e55b9f3
commit
801bade1da
2 changed files with 11 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-06-11 Serg Stoyan <stoyan255@ukr.net>
|
||||
|
||||
* Library/PCProjectManager.[m]:
|
||||
(loadProjectAt:): Fix loading "Gorm" poject.
|
||||
|
||||
2004-06-09 Serg Stoyan <stoyan255@ukr.net>
|
||||
|
||||
* Library/PCProjectBrowser.[hm]:
|
||||
|
|
|
@ -404,6 +404,12 @@ NSString *PCActiveProjectDidChangeNotification = @"PCActiveProjectDidChange";
|
|||
|
||||
// For compatibility with 0.3.x projects
|
||||
projectClassName = [projectFile objectForKey:PCProjectBuilderClass];
|
||||
// Gorm project type doesn't exists anymore
|
||||
if ([projectClassName isEqualToString:@"PCGormProj"])
|
||||
{
|
||||
projectTypeName = [NSString stringWithString:@"Application"];;
|
||||
projectClassName = [projectTypes objectForKey:projectTypeName];
|
||||
}
|
||||
|
||||
if (projectClassName == nil)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue