Changeset 6009
- Timestamp:
- Jun 3, 2008, 3:27:03 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEWS
r6006 r6009 4 4 http://trac.transmissionbt.com/query?group=component&milestone=1.30&order=severity 5 5 - All Platforms 6 + Ability to add and remove tracker s to already-added transfers6 + Ability to add and remove tracker addresses 7 7 + Creation of torrent files with no tracker address (for easier creation for upload to some tracker sites) 8 8 - Mac -
trunk/macosx/GroupsWindowController.m
r5998 r6009 59 59 else 60 60 { 61 [fAddRemoveControl setLabel: @"+" forSegment: 0]; 62 [fAddRemoveControl setLabel: @"-" forSegment: 1]; 61 [fAddRemoveControl sizeToFit]; 62 [fAddRemoveControl setLabel: @"+" forSegment: ADD_TAG]; 63 [fAddRemoveControl setLabel: @"-" forSegment: REMOVE_TAG]; 63 64 } 64 65 -
trunk/macosx/InfoWindowController.m
r6003 r6009 164 164 "inspector -> peer table -> header tool tip")]; 165 165 [[fPeerTable tableColumnWithIdentifier: @"DL From"] setHeaderToolTip: NSLocalizedString(@"Downloading From Peer", 166 "inspector -> peer table -> header tool tip")]; 166 "inspector -> peer table -> header tool tip")]; 167 } 168 else 169 { 170 [fTrackerAddRemoveControl sizeToFit]; 171 [fTrackerAddRemoveControl setLabel: @"+" forSegment: TRACKER_ADD_TAG]; 172 [fTrackerAddRemoveControl setLabel: @"-" forSegment: TRACKER_REMOVE_TAG]; 167 173 } 168 174 -
trunk/macosx/TrackerTableView.m
r5998 r6009 24 24 25 25 #import "TrackerTableView.h" 26 #import "NSApplicationAdditions.h" 26 27 27 28 @implementation TrackerTableView … … 51 52 if (rows.length > 0) 52 53 { 54 BOOL onLeopard = [NSApp isOnLeopardOrBetter]; 55 53 56 //determine what the first row color should be 54 if ( ![[fTrackers objectAtIndex: rows.location] isKindOfClass: [NSNumber class]])57 if (onLeopard) 55 58 { 56 for (i = rows.location-1; i>=0; i--)59 if (![[fTrackers objectAtIndex: rows.location] isKindOfClass: [NSNumber class]]) 57 60 { 58 if ([[fTrackers objectAtIndex: i] isKindOfClass: [NSNumber class]]) 59 break; 60 start = !start; 61 for (i = rows.location-1; i>=0; i--) 62 { 63 if ([[fTrackers objectAtIndex: i] isKindOfClass: [NSNumber class]]) 64 break; 65 start = !start; 66 } 61 67 } 62 }63 else64 {65 rows.location++;66 rows.length--;68 else 69 { 70 rows.location++; 71 rows.length--; 72 } 67 73 } 68 74 69 75 for (i = rows.location; i < NSMaxRange(rows); i++) 70 76 { 71 if ([[fTrackers objectAtIndex: i] isKindOfClass: [NSNumber class]] )77 if ([[fTrackers objectAtIndex: i] isKindOfClass: [NSNumber class]] && onLeopard) 72 78 { 73 79 start = YES;
Note: See TracChangeset
for help on using the changeset viewer.