Changeset 418


Ignore:
Timestamp:
Jun 20, 2006, 5:19:15 PM (16 years ago)
Author:
livings124
Message:

Status is now Activity, commented out now-unused method

Location:
trunk/macosx
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoWindowController.m

    r417 r418  
    3434
    3535#define TAB_INFO_IDENT @"Info"
    36 #define TAB_STATUS_IDENT @"Status"
     36#define TAB_ACTIVITY_IDENT @"Activity"
    3737#define TAB_OPTIONS_IDENT @"Options"
    3838#define TAB_FILES_IDENT @"Files"
     
    4040//15 spacing at the bottom of each tab
    4141#define TAB_INFO_HEIGHT 185.0
    42 #define TAB_STATUS_HEIGHT 199.0
     42#define TAB_ACTIVITY_HEIGHT 199.0
    4343#define TAB_OPTIONS_HEIGHT 82.0
    4444#define TAB_FILES_HEIGHT 250.0
     
    328328    if ([identifier isEqualToString: TAB_INFO_IDENT])
    329329        height = TAB_INFO_HEIGHT;
    330     else if ([identifier isEqualToString: TAB_STATUS_IDENT])
    331         height = TAB_STATUS_HEIGHT;
     330    else if ([identifier isEqualToString: TAB_ACTIVITY_IDENT])
     331        height = TAB_ACTIVITY_HEIGHT;
    332332    else if ([identifier isEqualToString: TAB_OPTIONS_IDENT])
    333333        height = TAB_OPTIONS_HEIGHT;
     
    423423
    424424    float ratioLimit = [sender floatValue];
    425     if (![[sender stringValue] isEqualToString:
    426             [NSString stringWithFormat: @"%.2f", ratioLimit]]
     425    if (![[sender stringValue] isEqualToString: [NSString stringWithFormat: @"%.2f", ratioLimit]]
    427426            || ratioLimit < 0)
    428427    {
  • trunk/macosx/Torrent.h

    r396 r418  
    9898- (BOOL) privateTorrent;
    9999
    100 - (NSString *) state;
     100//- (NSString *) state;
    101101
    102102- (float)   progress;
  • trunk/macosx/Torrent.m

    r409 r418  
    382382}
    383383
    384 - (NSString *) state
     384/*- (NSString *) state
    385385{
    386386    switch( fStat->status )
     
    409409            return @"N/A";
    410410    }
    411 }
     411}*/
    412412
    413413- (float) progress
Note: See TracChangeset for help on using the changeset viewer.