mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 12:50:47 +00:00
Parse use alternating background colors bit
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@40316 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b3b138171d
commit
10d7bf704f
1 changed files with 1 additions and 10 deletions
|
@ -5900,6 +5900,7 @@ This method is deprecated, use -columnIndexesInRect:. */
|
|||
[self setAllowsColumnResizing: tableViewFlags.columnResizing];
|
||||
[self setAllowsColumnReordering: tableViewFlags.columnOrdering];
|
||||
[self setAutosaveTableColumns: tableViewFlags.columnAutosave];
|
||||
[self setUsesAlternatingRowBackgroundColors: tableViewFlags.alternatingRowBackgroundColors];
|
||||
}
|
||||
|
||||
if ([aDecoder containsValueForKey: @"NSGridStyleMask"])
|
||||
|
@ -5942,16 +5943,6 @@ This method is deprecated, use -columnIndexesInRect:. */
|
|||
NSLog(@"%s:unsupported column autoresizing style: %d", __PRETTY_FUNCTION__, _columnAutoresizingStyle);
|
||||
}
|
||||
}
|
||||
|
||||
// Check for XIB 5 attributes not used previously...
|
||||
if ([[aDecoder class] coderVersion] > 0)
|
||||
{
|
||||
if ([aDecoder containsValueForKey: @"alternatingRowBackgroundColors"])
|
||||
{
|
||||
BOOL flag = [aDecoder decodeBoolForKey: @"alternatingRowBackgroundColors"];
|
||||
[self setUsesAlternatingRowBackgroundColors: flag];
|
||||
}
|
||||
}
|
||||
|
||||
[self tile]; /* Initialize _columnOrigins */
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue