Changeset 941
- Timestamp:
- Sep 28, 2006, 12:48:07 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Torrent.m
r940 r941 90 90 NSString * paused; 91 91 if (!(paused = [history objectForKey: @"Paused"]) || [paused isEqualToString: @"NO"]) 92 tr_torrentStart(fHandle);92 [self startTransfer]; 93 93 } 94 94 return self; … … 424 424 torrentRemaining = (float)[self size] * (1.0 - [self progress]); 425 425 426 NSLog(@"Remaining disk space: %f", remainingSpace);427 NSLog(@"Torrent remaining size: %f", torrentRemaining);428 429 426 if (remainingSpace - torrentRemaining <= 10240.0) 430 427 { … … 432 429 [alert setMessageText: [NSString stringWithFormat: @"Not enough remaining disk space to download \"%@\" completely.", 433 430 [self name]]]; 434 [alert setInformativeText: @"The transfer has been paused. Clear up space on your disk to continue."]; 435 431 [alert setInformativeText: [NSString stringWithFormat: 432 @"The transfer has been paused. Clear up space on %@ to continue.", 433 [[[NSFileManager defaultManager] componentsToDisplayForPath: [self dataLocation]] objectAtIndex: 0]]]; 436 434 [alert runModal]; 437 435
Note: See TracChangeset
for help on using the changeset viewer.