From 4a301fdf82662cc712aed1f69d8e17db46b77d36 Mon Sep 17 00:00:00 2001 From: Mitchell Livingston Date: Wed, 7 Nov 2007 00:16:32 +0000 Subject: [PATCH] no need to reload status bar when the window becomes/resigns main, since it is now the same when inactive or inactive --- macosx/Controller.m | 7 ------- 1 file changed, 7 deletions(-) diff --git a/macosx/Controller.m b/macosx/Controller.m index a2e158269..1074f7ec4 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -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