Automatically disable the Delete button in the Xtras Manager if no item is selected...
[adiumx.git] / Source / ESStatusPreferences.h
blob8975ba85112c2fbdedc12f73ff08c6228dbb965c
1 //
2 // ESStatusPreferences.h
3 // Adium
4 //
5 // Created by Evan Schoenberg on 2/26/05.
6 // Copyright 2006 The Adium Team. All rights reserved.
7 //
9 #import "AIPreferencePane.h"
11 @class AIAutoScrollView, AIStatus;
13 @interface ESStatusPreferences : AIPreferencePane {
14 //Status state tableview
15 IBOutlet NSButton *button_editState;
16 IBOutlet NSButton *button_deleteState;
17 IBOutlet NSButton *button_addGroup;
19 IBOutlet NSOutlineView *outlineView_stateList;
20 IBOutlet AIAutoScrollView *scrollView_stateList;
22 NSArray *draggingItems;
24 //Other controls
25 IBOutlet NSButton *checkBox_idle;
26 IBOutlet NSTextField *textField_idleMinutes;
27 IBOutlet NSStepper *stepper_idleMinutes;
29 IBOutlet NSButton *checkBox_autoAway;
30 IBOutlet NSPopUpButton *popUp_autoAwayStatusState;
31 IBOutlet NSTextField *textField_autoAwayMinutes;
32 IBOutlet NSStepper *stepper_autoAwayMinutes;
33 BOOL showingSubmenuItemInAutoAway;
35 IBOutlet NSButton *checkBox_fastUserSwitching;
36 IBOutlet NSPopUpButton *popUp_fastUserSwitchingStatusState;
37 BOOL showingSubmenuItemInFastUserSwitching;
39 IBOutlet NSButton *checkBox_showStatusWindow;
42 - (void)configureStateList;
44 - (IBAction)editState:(id)sender;
45 - (IBAction)deleteState:(id)sender;
46 - (IBAction)newState:(id)sender;
47 - (IBAction)addGroup:(id)sender;
49 - (void)stateArrayChanged:(NSNotification *)notification;
51 @end