Changeset 4965 for WiredClient/trunk/WCChat.m
- Timestamp:
- 10/17/07 22:31:12 (1 year ago)
- Files:
-
- WiredClient/trunk/WCChat.m (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
WiredClient/trunk/WCChat.m
r4799 r4965 90 90 NSColor *color; 91 91 92 font = [ WCSettings objectForKey:WCChatFont];92 font = [NSUnarchiver unarchiveObjectWithData:[WCSettings objectForKey:WCChatFont]]; 93 93 94 94 if(![[_chatOutputTextView font] isEqualTo:font]) { … … 98 98 } 99 99 100 color = [ WCSettings objectForKey:WCChatBackgroundColor];100 color = [NSUnarchiver unarchiveObjectWithData:[WCSettings objectForKey:WCChatBackgroundColor]]; 101 101 102 102 if(![[_chatOutputTextView backgroundColor] isEqualTo:color]) { … … 106 106 } 107 107 108 color = [ WCSettings objectForKey:WCChatTextColor];108 color = [NSUnarchiver unarchiveObjectWithData:[WCSettings objectForKey:WCChatTextColor]]; 109 109 110 110 if(![[_chatOutputTextView textColor] isEqualTo:color]) { … … 119 119 120 120 [_chatOutputTextView setLinkTextAttributes:[NSDictionary dictionaryWithObjectsAndKeys: 121 [WCSettings objectForKey:WCChatURLsColor], NSForegroundColorAttributeName, 122 [NSNumber numberWithInt:NSSingleUnderlineStyle], NSUnderlineStyleAttributeName, 121 [NSUnarchiver unarchiveObjectWithData:[WCSettings objectForKey:WCChatURLsColor]], 122 NSForegroundColorAttributeName, 123 [NSNumber numberWithInt:NSSingleUnderlineStyle], 124 NSUnderlineStyleAttributeName, 123 125 NULL]]; 124 126 125 [_userListTableView setFont:[ WCSettings objectForKey:WCChatUserListFont]];127 [_userListTableView setFont:[NSUnarchiver unarchiveObjectWithData:[WCSettings objectForKey:WCChatUserListFont]]]; 126 128 [_userListTableView setUsesAlternatingRowBackgroundColors:[WCSettings boolForKey:WCChatUserListAlternateRows]]; 127 129 … … 1332 1334 if(textView == _setTopicTextView) { 1333 1335 value = [self topicTextView:textView doCommandBySelector:selector]; 1334 [_setTopicTextView setFont:[ WCSettings objectForKey:WCChatFont]];1336 [_setTopicTextView setFont:[NSUnarchiver unarchiveObjectWithData:[WCSettings objectForKey:WCChatFont]]]; 1335 1337 } 1336 1338 else if(textView == _chatInputTextView) { 1337 1339 value = [self chatTextView:textView doCommandBySelector:selector]; 1338 [_chatInputTextView setFont:[ WCSettings objectForKey:WCChatFont]];1340 [_chatInputTextView setFont:[NSUnarchiver unarchiveObjectWithData:[WCSettings objectForKey:WCChatFont]]]; 1339 1341 } 1340 1342
