Remove more warnings and commented-out code.

This commit is contained in:
Mitchell Livingston 2006-07-22 15:22:01 +00:00
parent 6e109cde94
commit ac45b31069
1 changed files with 0 additions and 21 deletions

View File

@ -2138,41 +2138,20 @@ static void sleepCallBack(void * controller, io_service_t y,
[self updateUI: nil]; [self updateUI: nil];
} }
//set status fields inactive color
/*NSColor * enabledColor = [NSColor controlTextColor];
[fTotalTorrentsField setTextColor: enabledColor];
[fTotalDLField setTextColor: enabledColor];
[fTotalULField setTextColor: enabledColor];*/
//set filter images as active //set filter images as active
[fNoFilterButton setForActive]; [fNoFilterButton setForActive];
[fSeedFilterButton setForActive]; [fSeedFilterButton setForActive];
[fDownloadFilterButton setForActive]; [fDownloadFilterButton setForActive];
[fPauseFilterButton setForActive]; [fPauseFilterButton setForActive];
/*if (fSpeedLimitEnabled)
[fSpeedLimitButton setImage: [NSColor currentControlTint] == NSBlueControlTint
? fSpeedLimitBlueImage : fSpeedLimitGraphiteImage];*/
} }
- (void) windowDidResignKey: (NSNotification *) notification - (void) windowDidResignKey: (NSNotification *) notification
{ {
#warning should it do this?
//set status fields inactive color
/*NSColor * disabledColor = [NSColor disabledControlTextColor];
[fTotalTorrentsField setTextColor: disabledColor];
[fTotalDLField setTextColor: disabledColor];
[fTotalULField setTextColor: disabledColor];*/
//set filter images as inactive //set filter images as inactive
[fNoFilterButton setForInactive]; [fNoFilterButton setForInactive];
[fSeedFilterButton setForInactive]; [fSeedFilterButton setForInactive];
[fDownloadFilterButton setForInactive]; [fDownloadFilterButton setForInactive];
[fPauseFilterButton setForInactive]; [fPauseFilterButton setForInactive];
#warning need real inactive image, or to not do anything at all (?)
/*if (fSpeedLimitEnabled)
[fSpeedLimitButton setImage: fSpeedLimitNormalImage];*/
} }
- (void) windowDidResize: (NSNotification *) notification - (void) windowDidResize: (NSNotification *) notification