no need to reload status bar when the window becomes/resigns main, since it is now the same when inactive or inactive

This commit is contained in:
Mitchell Livingston 2007-11-07 00:16:32 +00:00
parent 44075895b2
commit 4a301fdf82
1 changed files with 0 additions and 7 deletions

View File

@ -3246,17 +3246,10 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
- (void) windowDidBecomeMain: (NSNotification *) notification
{
[fStatusBar setNeedsDisplay: YES];
[fBadger clearCompleted];
[self updateUI];
}
- (void) windowDidResignMain: (NSNotification *) notification
{
[fStatusBar setNeedsDisplay: YES];
}
- (NSSize) windowWillResize: (NSWindow *) sender toSize: (NSSize) proposedFrameSize
{
//only resize horizontally if autosize is enabled