Changeset 2473


Ignore:
Timestamp:
Jul 24, 2007, 1:04:01 AM (16 years ago)
Author:
livings124
Message:

hide the pause button when checking

Location:
trunk/macosx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Torrent.m

    r2450 r2473  
    540540        tr_torrentStop(fHandle);
    541541        [self update];
    542 
     542       
    543543        [[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateQueue" object: self];
    544544    }
  • trunk/macosx/TorrentTableView.m

    r2149 r2473  
    248248        torrent = [fTorrents objectAtIndex: i];
    249249        rect  = [self pauseRectForRow: i];
    250 
    251         if ([torrent isActive])
     250       
     251        if ([torrent isActive] && ![torrent isChecking])
    252252            image = NSPointInRect(fClickPoint, rect) ? fPauseOnIcon : fPauseOffIcon;
    253253        else if ([torrent isPaused])
     
    262262        else
    263263            image = nil;
    264 
     264       
    265265        if (image)
    266266            [image compositeToPoint: NSMakePoint(rect.origin.x, NSMaxY(rect)) operation: NSCompositeSourceOver];
Note: See TracChangeset for help on using the changeset viewer.