trunk: refresh status bar and completed badge when window becomes/resigns main, not key

This commit is contained in:
Mitchell Livingston 2007-11-01 19:18:26 +00:00
parent caa5c24cf3
commit c5836d33e0
1 changed files with 2 additions and 2 deletions

View File

@ -3237,7 +3237,7 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
[fWindow makeKeyAndOrderFront: nil];
}
- (void) windowDidBecomeKey: (NSNotification *) notification
- (void) windowDidBecomeMain: (NSNotification *) notification
{
[fStatusBar setNeedsDisplay: YES];
@ -3245,7 +3245,7 @@ void sleepCallBack(void * controller, io_service_t y, natural_t messageType, voi
[self updateUI];
}
- (void) windowDidResignKey: (NSNotification *) notification
- (void) windowDidResignMain: (NSNotification *) notification
{
[fStatusBar setNeedsDisplay: YES];
}