Changeset 3700

Show
Ignore:
Timestamp:
02/18/06 17:56:05 (3 years ago)
Author:
morris
Message:

Use convenience

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • WiredClient/trunk/WCApplicationController.m

    r3563 r3700  
    325325 
    326326- (void)dailyTimer:(NSTimer *)timer { 
    327         [[NSNotificationCenter defaultCenter] postNotificationName:WCDateDidChange object:NULL]; 
     327        [[NSNotificationCenter defaultCenter] postNotificationName:WCDateDidChange]; 
    328328} 
    329329 
  • WiredClient/trunk/WCConnectionController.m

    r3699 r3700  
    342342                [connection setBookmark:bookmark]; 
    343343                 
    344                 [[NSNotificationCenter defaultCenter] postNotificationName:WCBookmarksDidChange object:NULL]; 
     344                [[NSNotificationCenter defaultCenter] postNotificationName:WCBookmarksDidChange]; 
    345345        } 
    346346} 
  • WiredClient/trunk/WCPreferences.m

    r3660 r3700  
    312312        if(![[_nickTextField stringValue] isEqualToString:[WCSettings objectForKey:WCNick]]) { 
    313313                [WCSettings setObject:[_nickTextField stringValue] forKey:WCNick]; 
    314                 [[NSNotificationCenter defaultCenter] postNotificationName:WCNickDidChange object:NULL]; 
     314                [[NSNotificationCenter defaultCenter] postNotificationName:WCNickDidChange]; 
    315315        } 
    316316         
    317317        if(![[_statusTextField stringValue] isEqualToString:[WCSettings objectForKey:WCStatus]]) { 
    318318                [WCSettings setObject:[_statusTextField stringValue] forKey:WCStatus]; 
    319                 [[NSNotificationCenter defaultCenter] postNotificationName:WCStatusDidChange object:NULL]; 
     319                [[NSNotificationCenter defaultCenter] postNotificationName:WCStatusDidChange]; 
    320320        } 
    321321         
     
    619619 
    620620        [WCSettings setObject:[data base64EncodedString] forKey:WCCustomIcon]; 
    621         [[NSNotificationCenter defaultCenter] postNotificationName:WCIconDidChange object:NULL]; 
     621        [[NSNotificationCenter defaultCenter] postNotificationName:WCIconDidChange]; 
    622622} 
    623623 
     
    931931 
    932932        [WCSettings setObject:@"" forKey:WCCustomIcon]; 
    933         [[NSNotificationCenter defaultCenter] postNotificationName:WCIconDidChange object:NULL]; 
     933        [[NSNotificationCenter defaultCenter] postNotificationName:WCIconDidChange]; 
    934934} 
    935935