Changeset 10636


Ignore:
Timestamp:
May 8, 2010, 8:48:28 AM (11 years ago)
Author:
charles
Message:

Sync mac client with libtransmission's LDS->LDP changes, maybe

Location:
trunk/macosx
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoPeersViewController.m

    r10610 r10636  
    387387                [components addObject: NSLocalizedString(@"From: cache", "Inspector -> Peers tab -> table row tooltip")];
    388388                break;
    389             case TR_PEER_FROM_LDS:
     389            case TR_PEER_FROM_LDP:
    390390                [components addObject: NSLocalizedString(@"From: local peer discovery", "Inspector -> Peers tab -> table row tooltip")];
    391391                break;
  • trunk/macosx/PrefsController.h

    r10612 r10636  
    8585- (void) setPEX: (id) sender;
    8686- (void) setDHT: (id) sender;
    87 - (void) setLDS: (id) sender;
     87- (void) setLDP: (id) sender;
    8888
    8989- (void) setEncryptionMode: (id) sender;
  • trunk/macosx/PrefsController.m

    r10612 r10636  
    482482}
    483483
    484 - (void) setLDS: (id) sender
    485 {
    486     tr_sessionSetLDSEnabled(fHandle, [fDefaults boolForKey: @"LocalPeerDiscoveryGlobal"]);
     484- (void) setLDP: (id) sender
     485{
     486    tr_sessionSetLDPEnabled(fHandle, [fDefaults boolForKey: @"LocalPeerDiscoveryGlobal"]);
    487487}
    488488
     
    11561156   
    11571157    //dht
    1158     const BOOL lds = tr_sessionIsLDSEnabled(fHandle);
     1158    const BOOL lds = tr_sessionIsLDPEnabled(fHandle);
    11591159    [fDefaults setBool: lds forKey: @"LocalPeerDiscovery"];
    11601160   
  • trunk/macosx/Torrent.m

    r10610 r10636  
    12051205- (NSInteger) totalPeersLocal
    12061206{
    1207     return fStat->peersFrom[TR_PEER_FROM_LDS];
     1207    return fStat->peersFrom[TR_PEER_FROM_LDP];
    12081208}
    12091209
Note: See TracChangeset for help on using the changeset viewer.