Changeset 741


Ignore:
Timestamp:
Aug 8, 2006, 2:36:02 AM (15 years ago)
Author:
livings124
Message:

placeholder of N/A in info window

Location:
trunk/macosx
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/English.lproj/PrefsWindow.nib/info.nib

    r740 r741  
    88        <dict>
    99                <key>153</key>
    10                 <string>95 422 582 291 0 0 1152 842 </string>
     10                <string>285 433 582 291 0 0 1152 842 </string>
    1111                <key>28</key>
    1212                <string>58 372 582 290 0 0 1152 842 </string>
  • trunk/macosx/InfoWindowController.m

    r686 r741  
    222222            int seeders = [torrent seeders], leechers = [torrent leechers];
    223223            [fSeedersField setStringValue: seeders < 0 ?
    224                 @"N/A" : [NSString stringWithInt: seeders]];
     224                @"" : [NSString stringWithInt: seeders]];
    225225            [fLeechersField setStringValue: leechers < 0 ?
    226                 @"N/A" : [NSString stringWithInt: leechers]];
     226                @"" : [NSString stringWithInt: leechers]];
    227227           
    228228            BOOL active = [torrent isActive];
    229229           
    230230            [fConnectedPeersField setStringValue: active ? [NSString
    231                     stringWithInt: [torrent totalPeers]] : @"N/A"];
     231                    stringWithInt: [torrent totalPeers]] : @""];
    232232            [fDownloadingFromField setStringValue: active ? [NSString
    233                     stringWithInt: [torrent peersUploading]] : @"N/A"];
     233                    stringWithInt: [torrent peersUploading]] : @""];
    234234            [fUploadingToField setStringValue: active ? [NSString
    235                     stringWithInt: [torrent peersDownloading]] : @"N/A"];
     235                    stringWithInt: [torrent peersDownloading]] : @""];
    236236           
    237237            [fRatioField setStringValue: [NSString stringForRatioWithDownload:
Note: See TracChangeset for help on using the changeset viewer.