- Timestamp:
- Aug 15, 2006, 12:59:44 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Transmission.xcodeproj/project.pbxproj
r771 r780 256 256 4DCCBB3C09C3D71100D3CABF /* TorrentCell.m */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.objc; name = TorrentCell.m; path = macosx/TorrentCell.m; sourceTree = "<group>"; }; 257 257 4DCCBB3D09C3D71100D3CABF /* TorrentCell.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; name = TorrentCell.h; path = macosx/TorrentCell.h; sourceTree = "<group>"; }; 258 4DDBB71909E16BAE00284745 /* transmissioncli */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = "compiled.mach-o.executable"; path = transmissioncli; sourceTree = BUILT_PRODUCTS_DIR; };258 4DDBB71909E16BAE00284745 /* transmissioncli */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = transmissioncli; sourceTree = BUILT_PRODUCTS_DIR; }; 259 259 4DDBB71B09E16BF100284745 /* transmissioncli.c */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.c; name = transmissioncli.c; path = cli/transmissioncli.c; sourceTree = "<group>"; }; 260 260 4DDFDD20099A5D8E00189D81 /* DownloadBadge.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; name = DownloadBadge.png; path = macosx/Images/DownloadBadge.png; sourceTree = "<group>"; }; -
trunk/libtransmission/transmission.c
r774 r780 507 507 sizeof( peers[i].addr ) ); 508 508 } 509 509 510 peers[i].client = tr_clientForId(tr_peerId(peer)); 511 512 peers[i].isConnected = tr_peerIsConnected(peer); 510 513 peers[i].isDownloading = tr_peerIsDownloading(peer); 511 514 peers[i].isUploading = tr_peerIsUploading(peer); -
trunk/libtransmission/transmission.h
r774 r780 329 329 char * client; 330 330 331 int isConnected; 331 332 int isDownloading; 332 333 int isUploading; -
trunk/macosx/InfoWindowController.h
r776 r780 31 31 NSArray * fTorrents; 32 32 NSMutableArray * fPeers, * fFiles; 33 NSImage * fAppIcon ;33 NSImage * fAppIcon, * fCheckImage; 34 34 35 35 IBOutlet NSTabView * fTabView; -
trunk/macosx/InfoWindowController.m
r776 r780 57 57 { 58 58 fAppIcon = [[NSApp applicationIconImage] copy]; 59 fCheckImage = [NSImage imageNamed: @"NSMenuCheckmark"]; 59 60 60 61 fTorrents = [[NSArray alloc] init]; … … 434 435 { 435 436 if (tableView == fPeerTable) 436 return [f Torrents count] == 1 ? [[fTorrents objectAtIndex: 0] totalPeers] : 0;437 return [fPeers count]; 437 438 else if (tableView == fFileTable) 438 439 return [fFiles count]; … … 448 449 NSDictionary * peer = [fPeers objectAtIndex: row]; 449 450 450 if ([ident isEqualToString: @"UL To"]) 451 if ([ident isEqualToString: @"Connected"]) 452 return [[peer objectForKey: @"Connected"] boolValue] ? fCheckImage : nil; 453 else if ([ident isEqualToString: @"UL To"]) 451 454 return [[peer objectForKey: @"UL To"] boolValue] ? @"Y" : @""; 452 455 else if ([ident isEqualToString: @"DL From"]) -
trunk/macosx/Torrent.m
r775 r780 529 529 530 530 [peerDics addObject: [NSDictionary dictionaryWithObjectsAndKeys: 531 [NSNumber numberWithBool: peer.isConnected], @"Connected", 531 532 [NSString stringWithCString: (char *) peer.addr encoding: NSUTF8StringEncoding], @"IP", 532 533 [NSString stringWithCString: (char *) peer.client encoding: NSUTF8StringEncoding], @"Client",
Note: See TracChangeset
for help on using the changeset viewer.