Changeset 5460
- Timestamp:
- Mar 31, 2008, 6:39:44 PM (14 years ago)
- Location:
- branches/1.1x
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.1x/NEWS
r5453 r5460 4 4 - Mac 5 5 + Fix visual glitch with the tracker inspector tab when there is no scrape address 6 + Only make progress status string clickable on multi-file torrents 6 7 7 8 1.10 (2008/03/28) -
branches/1.1x/macosx/Torrent.m
r5453 r5460 969 969 if (![self allDownloaded]) 970 970 { 971 if ([ fDefaults boolForKey: @"DisplayStatusProgressSelected"])971 if ([self folder] && [fDefaults boolForKey: @"DisplayStatusProgressSelected"]) 972 972 { 973 973 string = [NSString stringWithFormat: NSLocalizedString(@"%@ of %@ selected (%.2f%%)", "Torrent -> progress string"), … … 982 982 else if (![self isComplete]) 983 983 { 984 if ([ fDefaults boolForKey: @"DisplayStatusProgressSelected"])984 if ([self folder] && [fDefaults boolForKey: @"DisplayStatusProgressSelected"]) 985 985 string = [NSString stringWithFormat: NSLocalizedString(@"%@ selected, uploaded %@ (Ratio: %@)", 986 986 "Torrent -> progress string"), [NSString stringForFileSize: [self haveTotal]], -
branches/1.1x/macosx/TorrentCell.m
r5072 r5460 259 259 if (NSMouseInRect(point, [self controlButtonRectForBounds: cellFrame], [controlView isFlipped]) 260 260 || NSMouseInRect(point, [self revealButtonRectForBounds: cellFrame], [controlView isFlipped]) 261 || NSMouseInRect(point, [self progressRectForBounds: cellFrame], [controlView isFlipped])261 || (NSMouseInRect(point, [self progressRectForBounds: cellFrame], [controlView isFlipped]) && [[self representedObject] folder]) 262 262 || NSMouseInRect(point, [self minimalStatusRectForBounds: cellFrame], [controlView isFlipped])) 263 263 return NSCellHitContentArea | NSCellHitTrackableArea; … … 286 286 287 287 NSRect progressRect = [self progressRectForBounds: cellFrame]; 288 BOOL checkProgress = NSMouseInRect(point, progressRect, [controlView isFlipped]) ;288 BOOL checkProgress = NSMouseInRect(point, progressRect, [controlView isFlipped]) && [[self representedObject] folder]; 289 289 290 290 NSRect minimalStatusRect = [self minimalStatusRectForBounds: cellFrame]; -
branches/1.1x/macosx/TorrentTableView.m
r5282 r5460 776 776 { 777 777 int row = [self rowAtPoint: point]; 778 if (row < 0 || ![[self itemAtRow: row] isKindOfClass: [Torrent class]] || [fDefaults boolForKey: @"SmallView"]) 778 if (row < 0 || ![[self itemAtRow: row] isKindOfClass: [Torrent class]] || [fDefaults boolForKey: @"SmallView"] 779 || ![[self itemAtRow: row] folder]) 779 780 return NO; 780 781
Note: See TracChangeset
for help on using the changeset viewer.