Changeset 3946
- Timestamp:
- Nov 23, 2007, 4:03:49 PM (15 years ago)
- Location:
- trunk/macosx
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r3945 r3946 1633 1633 else if ([sortType isEqualToString: SORT_ACTIVITY]) 1634 1634 { 1635 NSSortDescriptor * rateDescriptor = [[[NSSortDescriptor alloc] initWithKey: @"totalRate" ascending: !asc] 1636 autorelease]; 1635 1637 NSSortDescriptor * activityDescriptor = [[[NSSortDescriptor alloc] initWithKey: @"dateActivityOrAdd" ascending: !asc] 1636 1638 autorelease]; 1637 1639 1638 descriptors = [[NSArray alloc] initWithObjects: activityDescriptor, orderDescriptor, nil];1640 descriptors = [[NSArray alloc] initWithObjects: rateDescriptor, activityDescriptor, orderDescriptor, nil]; 1639 1641 } 1640 1642 else -
trunk/macosx/English.lproj/MainMenu.nib/info.nib
r3920 r3946 11 11 <key>IBOpenObjects</key> 12 12 <array> 13 <integer>2326</integer> 14 <integer>1895</integer> 13 <integer>1639</integer> 15 14 </array> 16 15 <key>IBSystem Version</key> -
trunk/macosx/PrefsWindow.m
r3902 r3946 25 25 #import "PrefsWindow.h" 26 26 27 #warning elliminate this class28 29 27 @implementation PrefsWindow 30 28 -
trunk/macosx/Torrent.h
r3945 r3946 192 192 - (float) downloadRate; 193 193 - (float) uploadRate; 194 - (float) totalRate; 194 195 - (uint64_t) haveVerified; 195 196 - (uint64_t) haveTotal; -
trunk/macosx/Torrent.m
r3945 r3946 1110 1110 } 1111 1111 1112 - (float) totalRate 1113 { 1114 return [self downloadRate] + [self uploadRate]; 1115 } 1116 1112 1117 - (uint64_t) haveVerified 1113 1118 { … … 1462 1467 fWaitToStart = waitToStart ? [waitToStart boolValue] : [fDefaults boolForKey: @"AutoStartDownload"]; 1463 1468 1464 [self setOrderValue: orderValue ? [orderValue intValue] : tr_torrentCount(fLib) - 1];1469 fOrderValue = orderValue ? [orderValue intValue] : tr_torrentCount(fLib) - 1; 1465 1470 fError = NO; 1466 1471
Note: See TracChangeset
for help on using the changeset viewer.