Changeset 3714 for trunk/macosx/Badger.m


Ignore:
Timestamp:
Nov 5, 2007, 12:47:20 PM (15 years ago)
Author:
livings124
Message:

move dock badging preference change notification into the Badger

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/macosx/Badger.m

    r3695 r3714  
    5656            [view release];
    5757        }
     58       
     59        //change that just impacts the dock badge
     60        [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(updateBadge)
     61                                                name: @"DockBadgeChange" object: nil];
    5862    }
    5963   
     
    6367- (void) dealloc
    6468{
     69    [[NSNotificationCenter defaultCenter] removeObserver: self];
     70   
    6571    [fDockIcon release];
    6672    [fAttributes release];
Note: See TracChangeset for help on using the changeset viewer.