Author: mlytwyn
Date: Wed Feb 1 01:33:13 2017
New Revision: 40316
URL: http://svn.gna.org/viewcvs/gnustep?rev=40316&view=rev
Log:
Parse use alternating background colors bit
Modified:
libs/gui/branches/gnustep_testplant_branch/Source/NSTableView.m
Modified: libs/gui/branches/gnustep_testplant_branch/Source/NSTableView.m
URL:
http://svn.gna.org/viewcvs/gnustep/libs/gui/branches/gnustep_testplant_branch/Source/NSTableView.m?rev=40316&r1=40315&r2=40316&view=diff
==============================================================================
--- libs/gui/branches/gnustep_testplant_branch/Source/NSTableView.m
(original)
+++ libs/gui/branches/gnustep_testplant_branch/Source/NSTableView.m Wed Feb
1 01:33:13 2017
@@ -5900,6 +5900,7 @@
[self setAllowsColumnResizing: tableViewFlags.columnResizing];
[self setAllowsColumnReordering: tableViewFlags.columnOrdering];
[self setAutosaveTableColumns: tableViewFlags.columnAutosave];
+ [self setUsesAlternatingRowBackgroundColors:
tableViewFlags.alternatingRowBackgroundColors];
}
if ([aDecoder containsValueForKey: @"NSGridStyleMask"])
@@ -5942,16 +5943,6 @@
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 */
}
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs