removed HasGSWComponents lookup

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@19354 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Dave Wetzel 2004-05-16 18:29:20 +00:00
parent 477c429eca
commit c34297814e

View file

@ -1834,7 +1834,8 @@ int GSWApplicationMain(NSString* applicationClassName,
int i=0; int i=0;
NSBundle* bundle=nil; NSBundle* bundle=nil;
NSDictionary* bundleInfo=nil; NSDictionary* bundleInfo=nil;
id hasGSWComponents=nil; // This makes only trouble and saves not so much time dave@turbocat.de
// id hasGSWComponents=nil;
LOGObjectFnStart(); LOGObjectFnStart();
array=[NSMutableArray array]; array=[NSMutableArray array];
for(i=0;i<[bundles count];i++) for(i=0;i<[bundles count];i++)
@ -1842,16 +1843,16 @@ int GSWApplicationMain(NSString* applicationClassName,
bundle=[bundles objectAtIndex:i]; bundle=[bundles objectAtIndex:i];
//NSDebugMLLog(@"gswcomponents",@"bundle=%@",bundle); //NSDebugMLLog(@"gswcomponents",@"bundle=%@",bundle);
//NSDebugMLLog(@"gswcomponents",@"bundle resourcePath=%@",[bundle resourcePath]); //NSDebugMLLog(@"gswcomponents",@"bundle resourcePath=%@",[bundle resourcePath]);
bundleInfo=[bundle infoDictionary]; ///bundleInfo=[bundle infoDictionary];
//NSDebugMLLog(@"gswcomponents",@"bundleInfo=%@",bundleInfo); //NSDebugMLLog(@"gswcomponents",@"bundleInfo=%@",bundleInfo);
hasGSWComponents=[bundleInfo objectForKey:@"HasGSWComponents"]; ///hasGSWComponents=[bundleInfo objectForKey:@"HasGSWComponents"];
//NSDebugMLLog(@"gswcomponents",@"hasGSWComponents=%@",hasGSWComponents); //NSDebugMLLog(@"gswcomponents",@"hasGSWComponents=%@",hasGSWComponents);
//NSDebugMLLog(@"gswcomponents",@"hasGSWComponents class=%@",[hasGSWComponents class]); //NSDebugMLLog(@"gswcomponents",@"hasGSWComponents class=%@",[hasGSWComponents class]);
if (boolValueFor(hasGSWComponents)) //if (boolValueFor(hasGSWComponents))
{ // {
[array addObject:bundle]; [array addObject:bundle];
NSDebugMLLog(@"gswcomponents",@"Add %@",[bundle bundleName]); NSDebugMLLog(@"gswcomponents",@"Add %@",[bundle bundleName]);
}; // };
}; };
// NSDebugMLLog(@"gswcomponents",@"_array=%@",_array); // NSDebugMLLog(@"gswcomponents",@"_array=%@",_array);
LOGObjectFnStop(); LOGObjectFnStop();