Correct images used for H/V orientation of the dimple.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28570 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
gcasa 2009-08-28 22:08:16 +00:00
parent 2ca663467a
commit 528eb702bd

View file

@ -352,12 +352,12 @@
if (horizontal) if (horizontal)
{ {
[self setName: GSScrollerHorizontalKnob forElement: cell temporary: YES]; [self setName: GSScrollerHorizontalKnob forElement: cell temporary: YES];
[cell setImage: [NSImage imageNamed: @"common_Dimple"]]; [cell setImage: [NSImage imageNamed: @"common_DimpleHoriz"]];
} }
else else
{ {
[self setName: GSScrollerVerticalKnob forElement: cell temporary: YES]; [self setName: GSScrollerVerticalKnob forElement: cell temporary: YES];
[cell setImage: [NSImage imageNamed: @"common_DimpleHoriz"]]; [cell setImage: [NSImage imageNamed: @"common_Dimple"]];
} }
RELEASE(cell); RELEASE(cell);