Changeset 12996
- Timestamp:
- 08/01/2005 04:54:06 PM (3 years ago)
- Files:
-
- trunk/Frameworks/Adium Framework/AIListObject.m (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/Frameworks/Adium Framework/AIListObject.m
r12811 r12996 442 442 - (void)setDisplayUserIcon:(NSImage *)inImage withOwner:(id)inOwner priorityLevel:(float)inPriorityLevel 443 443 { 444 AIMutableOwnerArray *userIconDisplayArray; 445 NSImage *oldImage; 446 447 //If inImage is nil, we don't want to create the display array if it doesn't already exist 448 userIconDisplayArray = (inImage ? 449 [self displayArrayForKey:KEY_USER_ICON] : 450 [self displayArrayForKey:KEY_USER_ICON create:NO]); 451 oldImage = [self displayUserIcon]; 452 444 NSImage *oldImage = [self displayUserIcon]; 445 453 446 [[self displayArrayForKey:KEY_USER_ICON] setObject:inImage 454 447 withOwner:inOwner … … 459 452 AIListObject *myContainingObject = [self containingObject]; 460 453 NSSet *modifiedKeys = [NSSet setWithObject:KEY_USER_ICON]; 461 454 462 455 [AIUserIcons flushCacheForContact:(AIListContact *)self]; 463 456