Changeset 535
- Timestamp:
- Jul 6, 2006, 12:03:27 AM (17 years ago)
- Location:
- trunk/macosx
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r534 r535 487 487 488 488 [self updateUI: nil]; 489 [fInfoController updateInfoS ettings];489 [fInfoController updateInfoStatsAndSettings]; 490 490 [self updateTorrentHistory]; 491 491 } … … 516 516 517 517 [self updateUI: nil]; 518 [fInfoController updateInfoS ettings];518 [fInfoController updateInfoStatsAndSettings]; 519 519 [self updateTorrentHistory]; 520 520 } … … 1034 1034 1035 1035 [self updateUI: nil]; 1036 [fInfoController updateInfoS ettings];1036 [fInfoController updateInfoStatsAndSettings]; 1037 1037 [self updateTorrentHistory]; 1038 1038 } … … 1044 1044 1045 1045 [self updateUI: nil]; 1046 [fInfoController updateInfoS ettings];1046 [fInfoController updateInfoStatsAndSettings]; 1047 1047 [self updateTorrentHistory]; 1048 1048 } … … 1053 1053 1054 1054 [self updateUI: nil]; 1055 [fInfoController updateInfoS ettings];1055 [fInfoController updateInfoStatsAndSettings]; 1056 1056 [self updateTorrentHistory]; 1057 1057 } … … 1127 1127 - (void) reloadInspectorSettings: (NSNotification *) notification 1128 1128 { 1129 [fInfoController updateInfoS ettings];1129 [fInfoController updateInfoStatsAndSettings]; 1130 1130 } 1131 1131 -
trunk/macosx/English.lproj/InfoWindow.nib/classes.nib
r451 r535 37 37 fSeedersField = NSTextField; 38 38 fSizeField = NSTextField; 39 fStateField = NSTextField; 39 40 fTabView = NSTabView; 40 41 fTorrentLocationField = NSTextField; -
trunk/macosx/InfoWindowController.h
r515 r535 41 41 * fDateStartedField, 42 42 /* 43 * f StateField, * fPercentField,43 * fPercentField, 44 44 * fDownloadRateField, * fUploadRateField, 45 45 */ 46 * fStateField, 46 47 * fDownloadedValidField, * fDownloadedTotalField, * fUploadedTotalField, 47 48 * fRatioField, * fSeedersField, * fLeechersField, … … 57 58 - (void) updateInfoForTorrents: (NSArray *) torrents; 58 59 - (void) updateInfoStats; 59 - (void) updateInfoS ettings;60 - (void) updateInfoStatsAndSettings; 60 61 61 62 - (void) setNextTab; -
trunk/macosx/InfoWindowController.m
r515 r535 40 40 //15 spacing at the bottom of each tab 41 41 #define TAB_INFO_HEIGHT 182.0 42 #define TAB_ACTIVITY_HEIGHT 198.042 #define TAB_ACTIVITY_HEIGHT 214.0 43 43 #define TAB_OPTIONS_HEIGHT 116.0 44 44 #define TAB_FILES_HEIGHT 250.0 … … 137 137 [fDateStartedField setStringValue: @""]; 138 138 139 [fStateField setStringValue: @""]; 139 140 /* 140 [fStateField setStringValue: @""];141 141 [fPercentField setStringValue: @""]; 142 142 */ … … 178 178 [fDateStartedField setObjectValue: [torrent date]]; 179 179 } 180 [self updateInfoStats]; 181 [self updateInfoSettings]; 180 181 //update stats and settings 182 [self updateInfoStatsAndSettings]; 182 183 183 184 //set file table … … 223 224 { 224 225 torrent = [fTorrents objectAtIndex: 0]; 226 227 [fStateField setStringValue: [torrent stateString]]; 225 228 /* 226 [fStateField setStringValue: [torrent state]];227 229 [fPercentField setStringValue: [NSString stringWithFormat: 228 230 @"%.2f%%", 100.0 * [torrent progress]]]; … … 249 251 } 250 252 251 - (void) updateInfoS ettings253 - (void) updateInfoStatsAndSettings 252 254 { 253 255 int numberSelected = [fTorrents count]; … … 325 327 [fRatioLimitField setStringValue: @""]; 326 328 } 329 330 [self updateInfoStats]; 327 331 } 328 332 -
trunk/macosx/Torrent.h
r530 r535 105 105 - (BOOL) privateTorrent; 106 106 107 //- (NSString *) state;107 - (NSString *) stateString; 108 108 109 109 - (float) progress; -
trunk/macosx/Torrent.m
r533 r535 429 429 } 430 430 431 /*- (NSString *) state 431 - (NSString *) stateString 432 432 { 433 433 switch( fStat->status ) … … 456 456 return @"N/A"; 457 457 } 458 } */458 } 459 459 460 460 - (float) progress
Note: See TracChangeset
for help on using the changeset viewer.