Ignore:
Timestamp:
Dec 1, 2008, 1:44:38 AM (12 years ago)
Author:
livings124
Message:

rename GroupsWindowController?.[hm] to GroupsPrefsController?.[hm] and change it to an NSObject; remove dead code

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/macosx/GroupsPrefsController.m

    r7215 r7216  
    2323 *****************************************************************************/
    2424
    25 #import "GroupsWindowController.h"
     25#import "GroupsPrefsController.h"
    2626#import "GroupsController.h"
    2727#import "NSApplicationAdditions.h"
     
    3434#define REMOVE_TAG 1
    3535
    36 @interface GroupsWindowController (Private)
     36@interface GroupsPrefsController (Private)
    3737
    3838- (void) updateSelectedColor;
     
    4040@end
    4141
    42 @implementation GroupsWindowController
    43 
    44 #warning should this still be a window controller?
     42@implementation GroupsPrefsController
     43
    4544- (void) awakeFromNib
    4645{
    47     [[[fTableView tableColumnWithIdentifier: @"Button"] dataCell] setTitle: NSLocalizedString(@"Color", "Groups -> color button")];
    48    
    4946    [fTableView registerForDraggedTypes: [NSArray arrayWithObject: GROUP_TABLE_VIEW_DATA_TYPE]];
    5047   
    51     if ([NSApp isOnLeopardOrBetter])
    52         [[self window] setContentBorderThickness: [[fTableView enclosingScrollView] frame].origin.y forEdge: NSMinYEdge];
    53     else
     48    if (![NSApp isOnLeopardOrBetter])
    5449    {
    5550        [fAddRemoveControl sizeToFit];
     
    5752        [fAddRemoveControl setLabel: @"-" forSegment: REMOVE_TAG];
    5853    }
    59 
    60     [fAddRemoveControl setEnabled: NO forSegment: REMOVE_TAG];
     54   
    6155    [fSelectedColorView addObserver: self forKeyPath: @"color" options: 0 context: NULL];
    6256   
     
    232226@end
    233227
    234 @implementation GroupsWindowController (Private)
     228@implementation GroupsPrefsController (Private)
    235229
    236230- (void) updateSelectedColor
Note: See TracChangeset for help on using the changeset viewer.