diff --git a/macosx/English.lproj/InfoWindow.nib/classes.nib b/macosx/English.lproj/InfoWindow.nib/classes.nib index 939e8cb79..708e39182 100644 --- a/macosx/English.lproj/InfoWindow.nib/classes.nib +++ b/macosx/English.lproj/InfoWindow.nib/classes.nib @@ -25,6 +25,7 @@ fDownloadedValidField = NSTextField; fDownloadingFromField = NSTextField; fFileTable = NSTableView; + fFileTableStatusField = NSTextField; fHashField = NSTextField; fImageView = NSImageView; fLeechersField = NSTextField; diff --git a/macosx/English.lproj/InfoWindow.nib/keyedobjects.nib b/macosx/English.lproj/InfoWindow.nib/keyedobjects.nib index 59e3a73d1..f0ffdfd42 100644 Binary files a/macosx/English.lproj/InfoWindow.nib/keyedobjects.nib and b/macosx/English.lproj/InfoWindow.nib/keyedobjects.nib differ diff --git a/macosx/InfoWindowController.h b/macosx/InfoWindowController.h index 8b0e47050..993cbeb56 100644 --- a/macosx/InfoWindowController.h +++ b/macosx/InfoWindowController.h @@ -48,6 +48,7 @@ IBOutlet NSTextField * fPeerTableStatusField; IBOutlet NSTableView * fFileTable; + IBOutlet NSTextField * fFileTableStatusField; IBOutlet NSMatrix * fRatioMatrix; IBOutlet NSTextField * fRatioLimitField; diff --git a/macosx/InfoWindowController.m b/macosx/InfoWindowController.m index c05e3db2e..595b4879a 100644 --- a/macosx/InfoWindowController.m +++ b/macosx/InfoWindowController.m @@ -220,6 +220,9 @@ [fFileTable deselectAll: nil]; [fFileTable reloadData]; + + [fFileTableStatusField setStringValue: [NSString stringWithFormat: @"%d file%s", [fFiles count], + [fFiles count] == 1 ? "" : "s"]]; } - (void) updateInfoStats