Changeset 9595
- Timestamp:
- Nov 27, 2009, 3:20:19 AM (11 years ago)
- Location:
- trunk/macosx
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/macosx/Controller.m
r9587 r9595 947 947 } 948 948 949 #warning show add window perhaps? 950 949 951 #warning should we do this? 950 952 [torrent setWaitToStart: [fDefaults boolForKey: @"AutoStartDownload"]]; 953 954 #warning should set group 951 955 952 956 [torrent update]; -
trunk/macosx/Info.plist
r9587 r9595 52 52 <array> 53 53 <string>magnet</string> 54 <string>dht</string>55 54 </array> 56 55 <key>CFBundleURLName</key> -
trunk/macosx/Torrent.m
r9587 r9595 810 810 - (BOOL) allDownloaded 811 811 { 812 return [self sizeLeft] == 0 ;812 return [self sizeLeft] == 0 && ![self isMagnet]; 813 813 } 814 814 … … 910 910 { 911 911 if ([self isMagnet]) 912 { 913 NSString * progressString = [NSString localizedStringWithFormat: @"%.2f%% of torrent metadata retrieved", 914 fStat->metadataPercentComplete]; 912 915 return [NSString stringWithFormat: @"%@ - %@", NSLocalizedString(@"Magnetized transfer", "Torrent -> progress string"), 913 NSLocalizedString(@"torrent information needed", "Torrent -> progress string")]; 916 progressString]; 917 } 914 918 915 919 NSString * string; -
trunk/macosx/TorrentCell.m
r9590 r9595 630 630 } 631 631 632 if (![torrent allDownloaded] && ![torrent isMagnet])632 if (![torrent allDownloaded]) 633 633 { 634 634 const CGFloat widthRemaining = round(NSWidth(barRect) * [torrent progressLeft]);
Note: See TracChangeset
for help on using the changeset viewer.