Changeset 4132
- Timestamp:
- Dec 12, 2007, 5:01:31 AM (15 years ago)
- Location:
- trunk/macosx
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r4131 r4132 251 251 [fWindow setContentBorderThickness: [[fTableView enclosingScrollView] frame].origin.y forEdge: NSMinYEdge]; 252 252 253 if (![NSApp isOnLeopardOrBetter])254 {255 //set info and filter keyboard shortcuts256 /*[fNextInfoTabItem setKeyEquivalent: [NSString stringWithCharacters: & NSRightArrowFunctionKey length: 1]];257 [fPrevInfoTabItem setKeyEquivalent: [NSString stringWithCharacters: & NSLeftArrowFunctionKey length: 1]];258 259 [fNextFilterItem setKeyEquivalent: [NSString stringWithCharacters: & NSRightArrowFunctionKey length: 1]];260 [fNextFilterItem setKeyEquivalentModifierMask: NSCommandKeyMask | NSAlternateKeyMask];261 [fPrevFilterItem setKeyEquivalent: [NSString stringWithCharacters: & NSLeftArrowFunctionKey length: 1]];262 [fPrevFilterItem setKeyEquivalentModifierMask: NSCommandKeyMask | NSAlternateKeyMask];*/263 }264 265 253 if ([NSApp isOnLeopardOrBetter]) 266 254 [[fTotalTorrentsField cell] setBackgroundStyle: NSBackgroundStyleRaised]; 267 255 268 //set up filter bar256 269 257 if (![NSApp isOnLeopardOrBetter]) 270 258 { … … 287 275 } 288 276 277 //set up filter bar 289 278 NSView * contentView = [fWindow contentView]; 290 279 NSSize windowSize = [contentView convertSize: [fWindow frame].size fromView: nil]; -
trunk/macosx/FileNameCell.m
r4019 r4132 26 26 #import "FileOutlineView.h" 27 27 #import "Torrent.h" 28 #import "NSApplicationAdditions.h" 28 29 #import "NSStringAdditions.h" 29 30 … … 92 93 //title 93 94 NSColor * specialColor = nil; 94 if ([ self isHighlighted]95 if ([NSApp isOnLeopardOrBetter] ? [self backgroundStyle] == NSBackgroundStyleDark : [self isHighlighted] 95 96 && [[self highlightColorWithFrame: cellFrame inView: controlView] isEqual: [NSColor alternateSelectedControlColor]]) 96 97 specialColor = [NSColor whiteColor]; -
trunk/macosx/TorrentCell.m
r4019 r4132 25 25 #import "TorrentCell.h" 26 26 #import "TorrentTableView.h" 27 #import "NSApplicationAdditions.h" 27 28 #import "NSStringAdditions.h" 28 29 #import "CTGradientAdditions.h" … … 224 225 //text color 225 226 NSColor * titleColor, * statusColor; 226 if ([ self isHighlighted]227 if ([NSApp isOnLeopardOrBetter] ? [self backgroundStyle] == NSBackgroundStyleDark : [self isHighlighted] 227 228 && [[self highlightColorWithFrame: cellFrame inView: controlView] isEqual: [NSColor alternateSelectedControlColor]]) 228 229 {
Note: See TracChangeset
for help on using the changeset viewer.