Fixes to make the code work with the BaseFinderOpen port to GNUstep.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@2713 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Ovidiu Predescu 1998-01-30 00:34:25 +00:00
parent 5557196f20
commit 8f9aad2c38
24 changed files with 588 additions and 171 deletions

View file

@ -151,12 +151,10 @@ static id NSApp;
propertyList];
NSString* mainModelFile = [infoDict objectForKey:@"NSMainNibFile"];
if (mainModelFile) {
if (mainModelFile && ![mainModelFile isEqual:@""]) {
if (![GMModel loadIMFile:mainModelFile
owner:[NSApplication sharedApplication]])
NSLog (@"Cannot load the main model file '%@", mainModelFile);
else
NSLog (@"Model loading ready!");
}
// notify that we will finish the launching