Release updates

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12209 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2002-01-24 17:02:33 +00:00
parent 7435386c19
commit 22112f40df
7 changed files with 57 additions and 200 deletions

View file

@ -235,7 +235,13 @@ Class gmodel_class(void)
BOOL loaded = NO;
NSUnarchiver *unarchiver = nil;
NSString *ext = [fileName pathExtension];
if ([[fileName pathExtension] isEqual: @"nib"])
{
/* We can't read nibs, look for an equivalent gmodel file */
fileName = [fileName stringByDeletingPathExtension];
fileName = [fileName stringByAppendingPathExtension: @"gmodel"];
}
// If the file to be read is a gmodel, use the GMModel method to
// read it in and skip the dearchiving below.