Changeset 10316
- Timestamp:
- Mar 7, 2010, 2:28:50 AM (13 years ago)
- Location:
- trunk/macosx
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/InfoPeersViewController.h
r10309 r10316 43 43 44 44 - (void) clearPeers; 45 - (void) stopWebSeedAnimation; 45 46 46 47 @end -
trunk/macosx/InfoPeersViewController.m
r10314 r10316 438 438 } 439 439 440 - (void) stopWebSeedAnimation 441 { 442 if (fWebSeedTableAnimation) 443 { 444 [fWebSeedTableAnimation stopAnimation]; // jumps to end frame 445 [fWebSeedTableAnimation release]; 446 fWebSeedTableAnimation = nil; 447 } 448 } 449 440 450 @end 441 451 -
trunk/macosx/InfoWindowController.m
r10314 r10316 207 207 } 208 208 209 #warning fix 210 /*- (NSSize) windowWillResize: (NSWindow *) window toSize: (NSSize) proposedFrameSize 211 { 212 //this is an edge-case - just stop the animation (stopAnimation jumps to end frame) 213 if (fWebSeedTableAnimation) 214 { 215 [fWebSeedTableAnimation stopAnimation]; 216 [fWebSeedTableAnimation release]; 217 fWebSeedTableAnimation = nil; 218 } 209 - (NSSize) windowWillResize: (NSWindow *) window toSize: (NSSize) proposedFrameSize 210 { 211 //this is an edge-case - just stop the animation 212 [fPeersViewController stopWebSeedAnimation]; 219 213 220 214 return proposedFrameSize; 221 } */215 } 222 216 223 217 - (void) windowWillClose: (NSNotification *) notification … … 491 485 [NSString stringWithFormat: NSLocalizedString(@"%@ total", "Inspector -> selected torrents"), 492 486 [NSString stringForFileSize: size]]]]; 493 [fBasicInfoField setToolTip: [NSString stringWithFormat: NSLocalizedString(@"%llu bytes", "Inspector -> selected torrents"),494 size]];487 [fBasicInfoField setToolTip: [NSString stringWithFormat: NSLocalizedString(@"%llu bytes", 488 "Inspector -> selected torrents"), size]]; 495 489 } 496 490 else … … 535 529 { 536 530 NSString * fileString; 537 NSInteger fileCount = [torrent fileCount];531 const NSInteger fileCount = [torrent fileCount]; 538 532 if (fileCount == 1) 539 533 fileString = NSLocalizedString(@"1 file", "Inspector -> selected torrents");
Note: See TracChangeset
for help on using the changeset viewer.