Changeset 10637


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

(trunk mac) maybe now?

Location:
trunk/macosx
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoPeersViewController.m

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

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

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