- for (NSString *plist in [[NSFileManager defaultManager] directoryContentsAtPath:Cydgets_])
- if ([plist hasSuffix:@".plist"])
- [cydgets_ addObject:[NSDictionary dictionaryWithContentsOfFile:[Cydgets_ stringByAppendingPathComponent:plist]]];
+ for (NSString *folder in [[NSFileManager defaultManager] directoryContentsAtPath:Cydgets_])
+ if ([folder hasSuffix:@".cydget"])
+ [cydgets_ addObject:[NSDictionary dictionaryWithContentsOfFile:[[Cydgets_ stringByAppendingPathComponent:folder] stringByAppendingPathComponent:@"Info.plist"]]];