Permalink
Browse files

"From nick" should be "To nick" in dcc sender table

  • Loading branch information...
1 parent c76487d commit 4a141d69e0d881f3b2f2a77a800f5fe131136005 @psychs psychs committed Jun 19, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 Classes/Dialogs/DCC/DCCController.m
@@ -661,6 +661,7 @@ - (void)tableView:(NSTableView *)sender willDisplayCell:(DCCFileTransferCell*)c
DCCSender* e = [senders objectAtIndex:row];
double speed = e.speed;
+ c.sendingItem = YES;
c.stringValue = e.fileName;
c.peerNick = e.peerNick;
c.size = e.size;
@@ -678,6 +679,7 @@ - (void)tableView:(NSTableView *)sender willDisplayCell:(DCCFileTransferCell*)c
DCCReceiver* e = [receivers objectAtIndex:row];
double speed = e.speed;
+ c.sendingItem = NO;
c.stringValue = (e.status == DCC_COMPLETE) ? [e.downloadFileName lastPathComponent] : e.fileName;
c.peerNick = e.peerNick;
c.size = e.size;

0 comments on commit 4a141d6

Please sign in to comment.