Ignore:
Timestamp:
Nov 23, 2006, 3:23:41 AM (15 years ago)
Author:
livings124
Message:

combine pieces and piece size in inspector

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoWindowController.m

    r1121 r1123  
    4040
    4141//15 spacing at the bottom of each tab
    42 #define TAB_INFO_HEIGHT 300.0
     42#define TAB_INFO_HEIGHT 284.0
    4343#define TAB_ACTIVITY_HEIGHT 109.0
    44 #define TAB_PEERS_HEIGHT 300.0
    45 #define TAB_FILES_HEIGHT 300.0
     44#define TAB_PEERS_HEIGHT 284.0
     45#define TAB_FILES_HEIGHT 284.0
    4646#define TAB_OPTIONS_HEIGHT 83.0
    4747
     
    154154        [fAnnounceField setStringValue: @""];
    155155        [fAnnounceField setToolTip: nil];
    156         [fPieceSizeField setStringValue: @""];
    157156        [fPiecesField setStringValue: @""];
    158157        [fHashField setStringValue: @""];
     
    214213        [fAnnounceField setStringValue: announce];
    215214        [fAnnounceField setToolTip: announce];
    216         [fPieceSizeField setStringValue: [NSString stringForFileSize: [torrent pieceSize]]];
    217         [fPiecesField setIntValue: [torrent pieceCount]];
     215        [fPiecesField setStringValue: [NSString stringWithFormat: @"%d, %@", [torrent pieceCount],
     216                                        [NSString stringForFileSize: [torrent pieceSize]]]];
    218217        [fHashField setStringValue: hashString];
    219218        [fHashField setToolTip: hashString];
Note: See TracChangeset for help on using the changeset viewer.