From 3b04b027f8ffecbcb2c972c5b93e7b50dd59b1db Mon Sep 17 00:00:00 2001 From: Francisco Ryan Tolmasky I Date: Fri, 5 Jun 2009 20:00:39 -0700 Subject: [PATCH] Fix for image views in toolbar items not displaying their images. Reviewed by me. --- AppKit/CPToolbarItem.j | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/AppKit/CPToolbarItem.j b/AppKit/CPToolbarItem.j index b0d9f9c47..c235463a9 100644 --- a/AppKit/CPToolbarItem.j +++ b/AppKit/CPToolbarItem.j @@ -458,15 +458,16 @@ CPToolbarItemVisibilityPriorityUser [copy setLabel:_label]; [copy setPaletteLabel:_paletteLabel]; [copy setToolTip:[self toolTip]]; - + [copy setTag:[self tag]]; [copy setTarget:[self target]]; [copy setAction:[self action]]; [copy setEnabled:[self isEnabled]]; - [copy setImage:_image]; - [copy setAlternateImage:_alternateImage]; - + + [copy setImage:[self image]]; + [copy setAlternateImage:[self alternateImage]]; + [copy setMinSize:_minSize]; [copy setMaxSize:_maxSize];