Changeset 2287


Ignore:
Timestamp:
Jul 4, 2007, 7:34:21 PM (15 years ago)
Author:
livings124
Message:

hopefully the dock amount-completed badging is more consistent

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Badger.m

    r2275 r2287  
    174174    if (baseChange || fSpeedBadge || speedChange)
    175175    {
    176         [NSApp setApplicationIconImage: dockIcon ? dockIcon : fDockIcon];
    177         if (dockIcon)
    178             [dockIcon release];
     176        //copy to avoid badge not being cleared
     177        if (!dockIcon)
     178            dockIcon = [fDockIcon copy];
     179        [NSApp setApplicationIconImage: dockIcon];
     180        [dockIcon release];
    179181       
    180182        fSpeedBadge = speedChange;
Note: See TracChangeset for help on using the changeset viewer.