1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 00:34:04 +00:00

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];