hide the pause button when checking

This commit is contained in:
Mitchell Livingston 2007-07-24 01:04:01 +00:00
parent c7d97e5f0a
commit 92ba91161a
2 changed files with 4 additions and 4 deletions

View File

@ -539,7 +539,7 @@ static uint32_t kRed = BE(0xFF6450FF), //255, 100, 80
{
tr_torrentStop(fHandle);
[self update];
[[NSNotificationCenter defaultCenter] postNotificationName: @"UpdateQueue" object: self];
}
}

View File

@ -247,8 +247,8 @@
{
torrent = [fTorrents objectAtIndex: i];
rect = [self pauseRectForRow: i];
if ([torrent isActive])
if ([torrent isActive] && ![torrent isChecking])
image = NSPointInRect(fClickPoint, rect) ? fPauseOnIcon : fPauseOffIcon;
else if ([torrent isPaused])
{
@ -261,7 +261,7 @@
}
else
image = nil;
if (image)
[image compositeToPoint: NSMakePoint(rect.origin.x, NSMaxY(rect)) operation: NSCompositeSourceOver];