mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 06:51:44 +00:00
Add mapping to XmlKeyMapTable for NSBackroundColors
This commit is contained in:
parent
f1552faaee
commit
94f616436f
1 changed files with 1 additions and 4 deletions
|
@ -326,6 +326,7 @@ static NSArray *XmlBoolDefaultYes = nil;
|
|||
@"beginningViews", @"NSStackViewBeginningContainer", // NSStackView
|
||||
@"middleViews", @"NSStackViewMiddleContainer",
|
||||
@"endViews", @"NSStackViewEndContainer",
|
||||
@"primaryBackgroundColor", @"NSBackgroundColors",
|
||||
nil];
|
||||
RETAIN(XmlKeyMapTable);
|
||||
|
||||
|
@ -3549,10 +3550,6 @@ didStartElement: (NSString*)elementName
|
|||
{
|
||||
hasValue = [self containsValueForKey: [XmlKeyMapTable objectForKey: key]];
|
||||
}
|
||||
else if ([@"NSBackgroundColors" isEqualToString: key])
|
||||
{
|
||||
hasValue = [currentElement elementForKey: @"primaryBackgroundColor"] != nil;
|
||||
}
|
||||
else if ([@"NSCollectionViewLayout" isEqualToString: key])
|
||||
{
|
||||
hasValue = [currentElement elementForKey: @"collectionViewLayout"] != nil;
|
||||
|
|
Loading…
Reference in a new issue