Changeset 2345
- Timestamp:
- Jul 15, 2007, 2:43:16 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/FilePriorityCell.m
r2338 r2345 55 55 NSSet * priorities = [torrent filePrioritiesForIndexes: [fItem objectForKey: @"Indexes"]]; 56 56 57 if ([priorities count] == 0) 57 int count = [priorities count]; 58 if (count == 0) 58 59 return; 59 60 … … 83 84 84 85 NSString * text; 85 if (low && !normal && !high) 86 text = @"-"; 87 else if (!low && !normal && high) 86 if (count > 1) 87 text = @"*"; 88 else if (low) 89 text = @"-"; 90 else 88 91 text = @"+"; 89 else90 text = @"*";91 92 92 93 NSSize textSize = [text sizeWithAttributes: attributes];
Note: See TracChangeset
for help on using the changeset viewer.