1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-25 09:13:06 +00:00

clear dock badge while quitting on Leopard

This commit is contained in:
Mitchell Livingston 2007-12-04 06:02:35 +00:00
parent 89c43d5c3e
commit fa7a76bbf6

View file

@ -220,10 +220,14 @@
}
}
//for quitting -- only needed by Tiger
- (void) clearBadge
{
if (![NSApp isOnLeopardOrBetter])
if ([NSApp isOnLeopardOrBetter])
{
[self clearCompleted];
[[NSApp dockTile] setContentView: nil];
}
else
{
fSpeedBadge = NO;
fCompleted = 0;