Changeset 987


Ignore:
Timestamp:
Oct 6, 2006, 3:38:31 AM (16 years ago)
Author:
livings124
Message:

Tooltips display if peer is from incoming or outgoing connection.

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoWindowController.m

    r973 r987  
    511511            return [file objectForKey: @"Name"];
    512512    }
     513    else if (tableView == fPeerTable)
     514        return [NSString stringWithFormat: @"From %@ connection",
     515                [[[fPeers objectAtIndex: row] objectForKey: @"Incoming"] boolValue] ? @"incoming" : @"outgoing"];
    513516    else
    514517        return nil;
  • trunk/macosx/Torrent.m

    r986 r987  
    626626        [peerDics addObject: [NSDictionary dictionaryWithObjectsAndKeys:
    627627            [NSNumber numberWithBool: peer.isConnected], @"Connected",
     628            [NSNumber numberWithBool: peer.isIncoming], @"Incoming",
    628629            [NSString stringWithCString: (char *) peer.addr encoding: NSUTF8StringEncoding], @"IP",
    629630            [NSString stringWithCString: (char *) peer.client encoding: NSUTF8StringEncoding], @"Client",
Note: See TracChangeset for help on using the changeset viewer.