mirror of
https://github.com/transmission/transmission
synced 2025-03-04 10:38:13 +00:00
Add number of files below info's file table.
This commit is contained in:
parent
604273f0e8
commit
4690f987f9
4 changed files with 5 additions and 0 deletions
1
macosx/English.lproj/InfoWindow.nib/classes.nib
generated
1
macosx/English.lproj/InfoWindow.nib/classes.nib
generated
|
@ -25,6 +25,7 @@
|
|||
fDownloadedValidField = NSTextField;
|
||||
fDownloadingFromField = NSTextField;
|
||||
fFileTable = NSTableView;
|
||||
fFileTableStatusField = NSTextField;
|
||||
fHashField = NSTextField;
|
||||
fImageView = NSImageView;
|
||||
fLeechersField = NSTextField;
|
||||
|
|
BIN
macosx/English.lproj/InfoWindow.nib/keyedobjects.nib
generated
BIN
macosx/English.lproj/InfoWindow.nib/keyedobjects.nib
generated
Binary file not shown.
|
@ -48,6 +48,7 @@
|
|||
IBOutlet NSTextField * fPeerTableStatusField;
|
||||
|
||||
IBOutlet NSTableView * fFileTable;
|
||||
IBOutlet NSTextField * fFileTableStatusField;
|
||||
|
||||
IBOutlet NSMatrix * fRatioMatrix;
|
||||
IBOutlet NSTextField * fRatioLimitField;
|
||||
|
|
|
@ -220,6 +220,9 @@
|
|||
|
||||
[fFileTable deselectAll: nil];
|
||||
[fFileTable reloadData];
|
||||
|
||||
[fFileTableStatusField setStringValue: [NSString stringWithFormat: @"%d file%s", [fFiles count],
|
||||
[fFiles count] == 1 ? "" : "s"]];
|
||||
}
|
||||
|
||||
- (void) updateInfoStats
|
||||
|
|
Loading…
Add table
Reference in a new issue