mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 02:30:37 +00:00
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:
parent
7435386c19
commit
22112f40df
7 changed files with 57 additions and 200 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue