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/Controller.m

    r3702 r3714  
    412412                    name: @"UpdateQueue" object: nil];
    413413   
    414     //change that just impacts the dock badge
    415     [nc addObserver: self selector: @selector(updateDockBadge:)
    416                     name: @"DockBadgeChange" object: nil];
    417    
    418414    //open newly created torrent file
    419415    [nc addObserver: self selector: @selector(beginCreateFile:)
     
    590586    [fBadger clearBadge];
    591587   
    592     //wait for running transfers to stop and for NAT to be disabled (5 second timeout)
     588    //wait for NAT to be disabled (5 second timeout)
    593589    NSDate * startDate = [NSDate date];
    594590   
     
    613609    [fTempTorrentFiles release];
    614610   
     611    //complete cleanup
    615612    tr_close(fLib);
    616613}
     
    32103207}
    32113208
    3212 - (void) updateDockBadge: (NSNotification *) notification
    3213 {
    3214     [fBadger updateBadge];
    3215 }
    3216 
    32173209- (NSRect) windowWillUseStandardFrame: (NSWindow *) window defaultFrame: (NSRect) defaultFrame
    32183210{
Note: See TracChangeset for help on using the changeset viewer.