Changeset 13288


Ignore:
Timestamp:
Apr 17, 2012, 10:59:59 AM (10 years ago)
Author:
livings124
Message:

since it uses a relative date, set the date added value on each pulse

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/InfoActivityViewController.m

    r13287 r13288  
    143143        [fDateCompletedField setObjectValue: [torrent dateCompleted]];
    144144       
     145        //uses a relative date, so can't be set once
     146        [fDateAddedField setObjectValue: [torrent dateAdded]];
     147       
    145148        [fDownloadTimeField setStringValue: [NSString timeString: [torrent secondsDownloading] showSeconds: YES]];
    146149        [fSeedTimeField setStringValue: [NSString timeString: [torrent secondsSeeding] showSeconds: YES]];
     
    207210        Torrent * torrent = [fTorrents objectAtIndex: 0];
    208211       
    209         [fDateAddedField setObjectValue: [torrent dateAdded]];
    210        
    211212        const BOOL piecesAvailableSegment = [[NSUserDefaults standardUserDefaults] boolForKey: @"PiecesViewShowAvailability"];
    212213        [fPiecesControl setSelected: piecesAvailableSegment forSegment: PIECES_CONTROL_AVAILABLE];
Note: See TracChangeset for help on using the changeset viewer.