Changeset 3190
- Timestamp:
- Sep 26, 2007, 6:32:32 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Transmission.xcodeproj/project.pbxproj
r3180 r3190 75 75 A20B6FA50C4D97840034AB1D /* PriorityNone.png in Resources */ = {isa = PBXBuildFile; fileRef = A20B6FA40C4D97840034AB1D /* PriorityNone.png */; }; 76 76 A20B6FAE0C4D9B040034AB1D /* PriorityNormal.png in Resources */ = {isa = PBXBuildFile; fileRef = A20B6FAD0C4D9B040034AB1D /* PriorityNormal.png */; }; 77 A21282A70CA6C66800EAEE0F /* StatusBarView.h in CopyFiles */ = {isa = PBXBuildFile; fileRef = A21282A50CA6C66800EAEE0F /* StatusBarView.h */; };78 77 A21282A80CA6C66800EAEE0F /* StatusBarView.m in Sources */ = {isa = PBXBuildFile; fileRef = A21282A60CA6C66800EAEE0F /* StatusBarView.m */; }; 79 78 A21567ED0A9A5034004DECD6 /* MessageWindow.nib in Resources */ = {isa = PBXBuildFile; fileRef = A21567EB0A9A5034004DECD6 /* MessageWindow.nib */; }; … … 283 282 A261F1E40A69A1B10002815A /* Growl.framework in CopyFiles */, 284 283 A24F19210A3A796800C9C145 /* Sparkle.framework in CopyFiles */, 285 A21282A70CA6C66800EAEE0F /* StatusBarView.h in CopyFiles */,286 284 ); 287 285 runOnlyForDeploymentPostprocessing = 0; -
trunk/macosx/InfoWindowController.h
r3180 r3190 45 45 * fCreatorField, * fDateCreatedField, 46 46 * fStateField, * fProgressField, 47 * fHaveField, * fDownloadedTotalField, * fUploadedTotalField, 47 * fHaveField, * fDownloadedTotalField, * fUploadedTotalField, * fFailedHashField, 48 48 * fRatioField, * fSwarmSpeedField; 49 49 IBOutlet NSTextView * fCommentView; -
trunk/macosx/InfoWindowController.m
r3182 r3190 36 36 //15 spacing at the bottom of each tab 37 37 #define TAB_INFO_HEIGHT 268.0 38 #define TAB_ACTIVITY_HEIGHT 2 74.038 #define TAB_ACTIVITY_HEIGHT 290.0 39 39 #define TAB_OPTIONS_HEIGHT 158.0 40 40 #define TAB_RESIZABLE_MIN_HEIGHT 279.0 … … 158 158 [fDownloadedTotalField setStringValue: @""]; 159 159 [fUploadedTotalField setStringValue: @""]; 160 [fFailedHashField setStringValue: @""]; 160 161 161 162 //options fields … … 375 376 return; 376 377 377 uint64_t have = 0, haveVerified = 0, downloadedTotal = 0, uploadedTotal = 0 ;378 uint64_t have = 0, haveVerified = 0, downloadedTotal = 0, uploadedTotal = 0, failedHash = 0; 378 379 Torrent * torrent; 379 380 NSEnumerator * enumerator = [fTorrents objectEnumerator]; … … 384 385 downloadedTotal += [torrent downloadedTotal]; 385 386 uploadedTotal += [torrent uploadedTotal]; 387 failedHash += [torrent failedHash]; 386 388 } 387 389 … … 397 399 [fDownloadedTotalField setStringValue: [NSString stringForFileSize: downloadedTotal]]; 398 400 [fUploadedTotalField setStringValue: [NSString stringForFileSize: uploadedTotal]]; 401 [fFailedHashField setStringValue: [NSString stringForFileSize: failedHash]]; 399 402 400 403 if (numberSelected == 1) -
trunk/macosx/Torrent.h
r3180 r3190 191 191 - (uint64_t) haveVerified; 192 192 - (uint64_t) haveTotal; 193 - (uint64_t) uploadedTotal; 193 194 - (uint64_t) downloadedTotal; 194 - (uint64_t) uploadedTotal;195 - (uint64_t) failedHash; 195 196 - (float) swarmSpeed; 196 197 -
trunk/macosx/Torrent.m
r3180 r3190 1161 1161 } 1162 1162 1163 - (uint64_t) uploadedTotal 1164 { 1165 return fStat->uploadedEver; 1166 } 1167 1163 1168 - (uint64_t) downloadedTotal 1164 1169 { … … 1166 1171 } 1167 1172 1168 - (uint64_t) uploadedTotal1169 { 1170 return fStat-> uploadedEver;1173 - (uint64_t) failedHash 1174 { 1175 return fStat->corruptEver; 1171 1176 } 1172 1177 -
trunk/macosx/TorrentCell.m
r3189 r3190 333 333 else if ([torrent isSeeding]) 334 334 { 335 #warning integer-ize!336 /*NSRect ratioRect = completeRect;337 ratioRect.size.width *= [torrent progressStopRatio];*/338 339 335 int ratioLeftWidth = leftWidth * (1.0 - [torrent progressStopRatio]); 340 336 leftWidth -= ratioLeftWidth; -
trunk/macosx/en.lproj/InfoWindow.nib/classes.nib
r3180 r3190 36 36 fDownloadingFromField = NSTextField; 37 37 fErrorMessageView = NSTextView; 38 fFailedHashField = NSTextField; 38 39 fFileCheckItem = NSMenuItem; 39 40 fFileOutline = FileOutlineView;
Note: See TracChangeset
for help on using the changeset viewer.