From 801bade1da5104b755f45ba1b4d88d475b1ccf87 Mon Sep 17 00:00:00 2001 From: Sergii Stoian Date: Fri, 11 Jun 2004 16:42:02 +0000 Subject: [PATCH] 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 --- Documentation/ChangeLog | 5 +++++ Library/PCProjectManager.m | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/Documentation/ChangeLog b/Documentation/ChangeLog index 8e7c7e8..854e0a5 100644 --- a/Documentation/ChangeLog +++ b/Documentation/ChangeLog @@ -1,3 +1,8 @@ +2004-06-11 Serg Stoyan + + * Library/PCProjectManager.[m]: + (loadProjectAt:): Fix loading "Gorm" poject. + 2004-06-09 Serg Stoyan * Library/PCProjectBrowser.[hm]: diff --git a/Library/PCProjectManager.m b/Library/PCProjectManager.m index 71c423d..3de554f 100644 --- a/Library/PCProjectManager.m +++ b/Library/PCProjectManager.m @@ -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) {