diff --git a/macosx/InfoWindowController.m b/macosx/InfoWindowController.m index f18c0f15a..37d6e432c 100644 --- a/macosx/InfoWindowController.m +++ b/macosx/InfoWindowController.m @@ -154,21 +154,22 @@ typedef enum [fTabMatrix selectCellWithTag: tag]; [self setTab: nil]; - //reset images for reveal button, since the images are also used in the main table - NSImage * revealOn = [[NSImage imageNamed: @"RevealOn.png"] copy], - * revealOff = [[NSImage imageNamed: @"RevealOff.png"] copy]; if (![NSApp isOnSnowLeopardOrBetter]) { + //reset images for reveal button, since the images are also used in the main table + NSImage * revealOn = [[NSImage imageNamed: @"RevealOn.png"] copy], + * revealOff = [[NSImage imageNamed: @"RevealOff.png"] copy]; + [revealOn setFlipped: NO]; [revealOff setFlipped: NO]; + + [fRevealDataButton setImage: revealOff]; + [fRevealDataButton setAlternateImage: revealOn]; + + [revealOn release]; + [revealOff release]; } - [fRevealDataButton setImage: revealOff]; - [fRevealDataButton setAlternateImage: revealOn]; - - [revealOn release]; - [revealOff release]; - //initially sort peer table by IP if ([[fPeerTable sortDescriptors] count] == 0) [fPeerTable setSortDescriptors: [NSArray arrayWithObject: [[fPeerTable tableColumnWithIdentifier: @"IP"] @@ -439,13 +440,10 @@ typedef enum [fDateAddedField setObjectValue: [torrent dateAdded]]; - [fRevealDataButton setHidden: NO]; - //allow these fields to be selected [fHashField setSelectable: YES]; [fCommentView setSelectable: ![commentString isEqualToString: @""]]; [fCreatorField setSelectable: ![creatorString isEqualToString: @""]]; - [fDataLocationField setSelectable: YES]; //set pieces view BOOL piecesAvailableSegment = [[NSUserDefaults standardUserDefaults] boolForKey: @"PiecesViewShowAvailability"];