Fix typo in method to set parent window of a child, optimise color handling in themes.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27742 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2009-01-31 09:59:32 +00:00
parent 52de0f2703
commit 774a9ec1d4
8 changed files with 137 additions and 94 deletions

View file

@ -1126,7 +1126,7 @@ static float scrollerWidth;
{
name = @"NSScrollView";
}
color = [[theme extraColors] colorWithKey: name];
color = [theme colorNamed: name state: GSThemeNormalState cache: YES];
if (color == nil)
{
color = [NSColor controlDarkShadowColor];