Changeset 5069
- Timestamp:
- Feb 19, 2008, 5:14:22 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEWS
r5067 r5069 3 3 1.10 (2008/xx/yy) 4 4 - All Platforms: 5 + Removing transferswill remove the associated cache file5 + Removing a transfer will remove the associated cache file 6 6 - Mac: 7 7 + Window when adding torrents to select files and other settings -
trunk/macosx/TorrentTableView.m
r5063 r5069 83 83 } 84 84 85 - (void) awakeFromNib 86 { 87 if (![NSApp isOnLeopardOrBetter]) 88 { 89 //remove all unnecessary columns 90 int i; 91 for (i = [[self tableColumns] count]-1; i >= 0; i--) 92 { 93 NSTableColumn * column = [[self tableColumns] objectAtIndex: i]; 94 if (![[column identifier] isEqualToString: @"Group"]) 95 [self removeTableColumn: column]; 96 } 97 98 [self sizeLastColumnToFit]; 99 } 100 } 101 85 102 - (void) dealloc 86 103 { … … 159 176 if ([[tableColumn identifier] isEqualToString: @"UL Image"] || [[tableColumn identifier] isEqualToString: @"DL Image"]) 160 177 { 161 //ensure white only when selected178 //ensure arrows are white only when selected 162 179 NSImage * image = [cell image]; 163 180 BOOL template = [cell backgroundStyle] == NSBackgroundStyleLowered; … … 174 191 - (NSRect) frameOfCellAtColumn: (NSInteger) column row: (NSInteger) row 175 192 { 176 if (column == -1 || (![NSApp isOnLeopardOrBetter] && [[self itemAtRow: row] isKindOfClass: [Torrent class]]))193 if (column == -1 || ![NSApp isOnLeopardOrBetter]) 177 194 return [self rectOfRow: row]; 178 195 else
Note: See TracChangeset
for help on using the changeset viewer.