Changeset 461


Ignore:
Timestamp:
Jun 25, 2006, 6:17:17 PM (16 years ago)
Author:
livings124
Message:

Auto-start check works correctly (needed the torrent to update beforehand).

Location:
trunk/macosx
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Controller.m

    r459 r461  
    477477   
    478478    [self updateUI: nil];
     479    [self reloadInspector: nil];
    479480    [self updateTorrentHistory];
    480481}
     
    506507   
    507508    [self updateUI: nil];
     509    [self reloadInspector: nil];
    508510    [self updateTorrentHistory];
    509511}
     
    10701072
    10711073    [self updateUI: nil];
     1074    [self reloadInspector: nil];
    10721075    [self updateTorrentHistory];
    10731076}
  • trunk/macosx/InfoWindowController.m

    r454 r461  
    192192   
    193193    //set wait to start
    194     if (numberSelected == 1)
     194    if ([fTorrents count] == 1)
    195195    {
    196196        #warning make work for multiple torrents
    197197        Torrent * torrent = [fTorrents objectAtIndex: 0];
    198198        [fWaitToStartButton setState: [torrent waitingToStart]];
    199        
    200         #warning disable if actively downloading or finished
    201         [fWaitToStartButton setEnabled:
     199
     200        [fWaitToStartButton setEnabled: ![torrent isActive] && [torrent progress] < 1.0 &&
    202201            [[[NSUserDefaults standardUserDefaults] stringForKey: @"StartSetting"] isEqualToString: @"Wait"]];
    203202    }
  • trunk/macosx/Torrent.m

    r457 r461  
    336336- (NSString *) name
    337337{
    338     return [NSString stringWithUTF8String: fInfo->name];
     338    return [[NSString stringWithUTF8String: fInfo->name] stringByAppendingFormat: @" %d", fOrderValue];
    339339}
    340340
Note: See TracChangeset for help on using the changeset viewer.