Changeset 13809
- Timestamp:
- 10/25/2005 09:08:29 PM (3 years ago)
- Files:
-
- trunk/Frameworks/Adium Framework/AIStatusIcons.m (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Frameworks/Adium Framework/AIStatusIcons.m
r12946 r13809 183 183 + (BOOL)setActiveStatusIconsFromPath:(NSString *)inPath 184 184 { 185 NSBundle * xtraBundle = [NSBundle bundleWithPath:inPath]; 186 if(xtraBundle && [[xtraBundle objectForInfoDictionaryKey:@"XtraBundleVersion"] isEqualToNumber:[NSNumber numberWithInt:1]])//This checks for a new-style xtra 187 inPath = [xtraBundle resourcePath]; 188 185 189 if (!statusIconBasePath || ![statusIconBasePath isEqualToString:inPath]) { 186 190 NSDictionary *statusIconDict = [NSDictionary dictionaryWithContentsOfFile:[inPath stringByAppendingPathComponent:@"Icons.plist"]]; … … 295 299 + (NSImage *)previewMenuImageForIconPackAtPath:(NSString *)inPath 296 300 { 301 NSBundle * xtraBundle = [NSBundle bundleWithPath:inPath]; 302 if(xtraBundle && [[xtraBundle objectForInfoDictionaryKey:@"XtraBundleVersion"] isEqualToNumber:[NSNumber numberWithInt:1]])//This checks for a new-style xtra 303 inPath = [xtraBundle resourcePath]; 304 297 305 NSImage *image; 298 306 NSDictionary *iconDict;