clear dock badge while quitting on Leopard
This commit is contained in:
parent
89c43d5c3e
commit
fa7a76bbf6
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue