Changeset 9422
- Timestamp:
- Oct 27, 2009, 11:23:02 PM (13 years ago)
- Location:
- trunk/macosx
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r9406 r9422 1980 1980 { 1981 1981 NSSortDescriptor * dateDescriptor = [[[NSSortDescriptor alloc] initWithKey: @"dateAdded" ascending: asc] autorelease]; 1982 1982 1983 1983 descriptors = [[NSArray alloc] initWithObjects: dateDescriptor, nameDescriptor, nil]; 1984 1984 } -
trunk/macosx/FilePriorityCell.m
r9012 r9422 148 148 else 149 149 { 150 image = [image copy]; 150 151 [image setFlipped: YES]; 151 152 [image drawInRect: imageRect fromRect: NSZeroRect operation: NSCompositeSourceOver fraction: 1.0]; -
trunk/macosx/TorrentCell.m
r9342 r9422 483 483 NSImage * priorityImage = [torrent priority] == TR_PRI_HIGH ? [NSImage imageNamed: @"PriorityHigh.png"] 484 484 : [NSImage imageNamed: @"PriorityLow.png"]; 485 priorityImage = [NSApp isOnSnowLeopardOrBetter] ? [priorityImage retain] : [priorityImage copy]; //take line out completely when 10.6-only 485 486 486 487 NSRect priorityRect = NSMakeRect(NSMaxX(titleRect) + PADDING_BETWEEN_TITLE_AND_PRIORITY, … … 489 490 490 491 [self drawImage: priorityImage inRect: priorityRect]; 492 [priorityImage release]; 491 493 } 492 494
Note: See TracChangeset
for help on using the changeset viewer.