Ignore:
Timestamp:
Aug 17, 2006, 3:12:40 AM (16 years ago)
Author:
livings124
Message:

Show swarm speed in inspector.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoWindowController.m

    r785 r789  
    4141//15 spacing at the bottom of each tab
    4242#define TAB_INFO_HEIGHT 182.0
    43 #define TAB_ACTIVITY_HEIGHT 214.0
     43#define TAB_ACTIVITY_HEIGHT 230.0
    4444#define TAB_PEERS_HEIGHT 255.0
    4545#define TAB_FILES_HEIGHT 255.0
     
    167167        [fDownloadingFromField setStringValue: @""];
    168168        [fUploadingToField setStringValue: @""];
     169        [fSwarmSpeedField setStringValue: @""];
    169170       
    170171        [fPeers removeAllObjects];
     
    267268       
    268269        [fRatioField setStringValue: [NSString stringForRatioWithDownload: downloadedTotal upload: uploadedTotal]];
     270       
     271        [fSwarmSpeedField setStringValue: [torrent isActive] ? [NSString stringForSpeed: [torrent swarmSpeed]] : @""];
    269272       
    270273        //set peers table
Note: See TracChangeset for help on using the changeset viewer.