Adium

Changeset 24395

Show
Ignore:
Timestamp:
07/17/2008 10:25:33 AM (6 months ago)
Author:
evands
Message:

Use the 'ExtendedStatus' property, not the statusMessageString, when drawing the status message in the contact list so we get the benefit of the filtered, whitespace-removed, newlines-to-slashes string

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Frameworks/Adium Framework/Source/AIListContactCell.m

    r24326 r24395  
    422422                if (statusMessageIsBelow && statusMessageVisible) { 
    423423                        rect = [self drawUserExtendedStatusInRect:rect 
    424                                                                                   withMessage:[listObject statusMessageString
     424                                                                                  withMessage:[listObject valueForProperty:@"ExtendedStatus"
    425425                                                                                        drawUnder:YES];  
    426426                } 
     
    576576{ 
    577577        if (extendedStatusVisible && (drawUnder || [self textAlignment] != NSCenterTextAlignment)) { 
    578                 /* 
    579                 NSString        *string = (useStatusMessageAsExtendedStatus ? 
    580                                                            [listObject statusMessageString] :  
    581                                                            [listObject valueForProperty:@"ExtendedStatus"]);*/ 
    582  
    583578                if (string) { 
    584579                        int     halfHeight = rect.size.height / 2;