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:
Sergii Stoian 2004-06-11 16:42:02 +00:00
parent be9e55b9f3
commit 801bade1da
2 changed files with 11 additions and 0 deletions

View file

@ -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]:

View file

@ -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)
{