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
1 changed files with 6 additions and 2 deletions

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;