Changeset 797


Ignore:
Timestamp:
Aug 20, 2006, 6:09:53 PM (15 years ago)
Author:
livings124
Message:

Add number of files below info's file table.

Location:
trunk/macosx
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/English.lproj/InfoWindow.nib/classes.nib

    r789 r797  
    2626                fDownloadingFromField = NSTextField;
    2727                fFileTable = NSTableView;
     28                fFileTableStatusField = NSTextField;
    2829                fHashField = NSTextField;
    2930                fImageView = NSImageView;
  • trunk/macosx/InfoWindowController.h

    r796 r797  
    4949   
    5050    IBOutlet NSTableView * fFileTable;
     51    IBOutlet NSTextField * fFileTableStatusField;
    5152   
    5253    IBOutlet NSMatrix * fRatioMatrix;
  • trunk/macosx/InfoWindowController.m

    r796 r797  
    221221    [fFileTable deselectAll: nil];
    222222    [fFileTable reloadData];
     223   
     224    [fFileTableStatusField setStringValue: [NSString stringWithFormat: @"%d file%s", [fFiles count],
     225                                            [fFiles count] == 1 ? "" : "s"]];
    223226}
    224227
Note: See TracChangeset for help on using the changeset viewer.