get the dock badging of completed torrents working finally...seems it was an undocumented Apple bug, so this gets around that
This commit is contained in:
parent
cc1394b1d6
commit
e52e736e91
|
@ -80,8 +80,11 @@
|
||||||
{
|
{
|
||||||
fCompletedBadged = fCompleted;
|
fCompletedBadged = fCompleted;
|
||||||
|
|
||||||
|
//force image to reload - copy does not work
|
||||||
|
NSSize iconSize = [fDockIcon size];
|
||||||
[fDockIcon release];
|
[fDockIcon release];
|
||||||
fDockIcon = [[NSImage imageNamed: @"NSApplicationIcon"] copy];
|
fDockIcon = [[NSImage alloc] initWithSize: iconSize];
|
||||||
|
[fDockIcon addRepresentation: [[NSImage imageNamed: @"NSApplicationIcon"] bestRepresentationForDevice: nil]];
|
||||||
|
|
||||||
if (fCompleted > 0)
|
if (fCompleted > 0)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue