Changeset 3630

Show
Ignore:
Timestamp:
01/26/06 22:12:34 (3 years ago)
Author:
morris
Message:

Underline links

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • WiredClient/trunk/WCChat.m

    r3620 r3630  
    9999        } 
    100100         
    101         [_chatOutputTextView setLinkTextAttributes: 
    102                 [NSDictionary dictionaryWithObject:[WCSettings objectForKey:WCChatURLsColor] 
    103                                                                         forKey:NSForegroundColorAttributeName]]; 
     101        [_chatOutputTextView setLinkTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys: 
     102                [WCSettings objectForKey:WCChatURLsColor],                      NSForegroundColorAttributeName, 
     103                [NSNumber numberWithInt:NSSingleUnderlineStyle],        NSUnderlineStyleAttributeName, 
     104                NULL]]; 
    104105 
    105106        [_userListTableView setFont:[WCSettings objectForKey:WCChatUserListFont]]; 
  • WiredClient/trunk/WCMessages.m

    r3621 r3630  
    124124        [_messageTextView setNeedsDisplay:YES]; 
    125125 
    126         [_messageTextView setLinkTextAttributes: 
    127                 [NSDictionary dictionaryWithObject:[WCSettings objectForKey:WCChatURLsColor] 
    128                                                                         forKey:NSForegroundColorAttributeName]]; 
     126        [_messageTextView setLinkTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys: 
     127                [WCSettings objectForKey:WCChatURLsColor],                      NSForegroundColorAttributeName, 
     128                [NSNumber numberWithInt:NSSingleUnderlineStyle],        NSUnderlineStyleAttributeName, 
     129                NULL]]; 
    129130         
    130131        [_replyTextView setFont:[WCSettings objectForKey:WCMessagesFont]]; 
  • WiredClient/trunk/WCNews.m

    r3619 r3630  
    7979        [_newsTextView setNeedsDisplay:YES]; 
    8080 
    81         [_newsTextView setLinkTextAttributes: 
    82                 [NSDictionary dictionaryWithObject:[WCSettings objectForKey:WCChatURLsColor] 
    83                                                                         forKey:NSForegroundColorAttributeName]]; 
     81        [_newsTextView setLinkTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys: 
     82                [WCSettings objectForKey:WCChatURLsColor],                      NSForegroundColorAttributeName, 
     83                [NSNumber numberWithInt:NSSingleUnderlineStyle],        NSUnderlineStyleAttributeName, 
     84                NULL]]; 
    8485         
    8586        [_postTextView setFont:[WCSettings objectForKey:WCNewsFont]];