mirror of
https://github.com/transmission/transmission
synced 2025-03-15 16:29:34 +00:00
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:
parent
44075895b2
commit
4a301fdf82
1 changed files with 0 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue