1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-27 01:57:52 +00:00

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

View file

@ -2138,41 +2138,20 @@ static void sleepCallBack(void * controller, io_service_t y,
[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
[fNoFilterButton setForActive];
[fSeedFilterButton setForActive];
[fDownloadFilterButton setForActive];
[fPauseFilterButton setForActive];
/*if (fSpeedLimitEnabled)
[fSpeedLimitButton setImage: [NSColor currentControlTint] == NSBlueControlTint
? fSpeedLimitBlueImage : fSpeedLimitGraphiteImage];*/
}
- (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
[fNoFilterButton setForInactive];
[fSeedFilterButton setForInactive];
[fDownloadFilterButton setForInactive];
[fPauseFilterButton setForInactive];
#warning need real inactive image, or to not do anything at all (?)
/*if (fSpeedLimitEnabled)
[fSpeedLimitButton setImage: fSpeedLimitNormalImage];*/
}
- (void) windowDidResize: (NSNotification *) notification