Changeset 3986

Show
Ignore:
Timestamp:
03/27/06 23:49:18 (3 years ago)
Author:
morris
Message:

Apply alternating row setting for files in search

Files:

Legend:

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

    r3977 r3986  
    148148 
    149149- (void)_update { 
     150        [_searchTableView setUsesAlternatingRowBackgroundColors:[WCSettings boolForKey:WCFilesAlternateRows]]; 
     151        [_searchTableView setNeedsDisplay:YES]; 
    150152} 
    151153 
     
    280282 
    281283 
     284- (void)preferencesDidChange:(NSNotification *)notification { 
     285        [self _update]; 
     286} 
     287 
     288 
     289 
    282290- (void)connectionDidClose:(NSNotification *)notification { 
    283291        [self _validate]; 
     
    387395        [_searchTableView reloadData]; 
    388396        [_searchTableView setNeedsDisplay:YES]; 
    389 } 
    390  
    391  
    392  
    393 - (void)preferencesDidChange:(NSNotification *)notification { 
    394         [self _update]; 
    395397} 
    396398