X-Git-Url: http://git.ithinksw.org/MenuTunes.git/blobdiff_plain/28ef52fed0fa8f1d49c604cabe52b846bf01d393..94dfc0e4cf99cee8eefa0bf795e3895a5ddb3088:/StatusWindowController.m diff --git a/StatusWindowController.m b/StatusWindowController.m index 85d94df..75a1a9d 100755 --- a/StatusWindowController.m +++ b/StatusWindowController.m @@ -114,12 +114,12 @@ static StatusWindowController *sharedController; NSString *text = title; if ( art != nil ) { - image = art; - NSSize size = [image size]; - if (size.width > 110) { - [image setScalesWhenResized:YES]; - [image setSize:NSMakeSize(110, (size.width / size.height) * 110)]; - } + NSSize oldSize; + image = art; + [image setScalesWhenResized:YES]; + oldSize = [image size]; + + [image setSize:NSMakeSize(110,oldSize.height * (110.0f / oldSize.width))]; } else if ( source == ITMTRemoteLibrarySource ) { image = [NSImage imageNamed:@"Library"]; } else if ( source == ITMTRemoteCDSource ) { @@ -271,7 +271,7 @@ static StatusWindowController *sharedController; { NSString *message = @"The selected shared player is available again.\nWould you like to reconnect to it?."; - [_window setImage:[NSImage imageNamed:@"Register"]]; + [_window setImage:[NSImage imageNamed:@"Setup"]]; [_window setSizing:(ITTransientStatusWindowSizing)[df integerForKey:@"statusWindowSizing"]]; [_window buildDialogWindowWithMessage:message defaultButton:@"Reconnect"