use alternating row bg colors in outliner on panther to make it easier to read

This commit is contained in:
pinkerton%aol.net 2004-05-12 03:48:08 +00:00
parent c62687dd9e
commit cf08cf4885

View File

@ -51,6 +51,11 @@
- (void)awakeFromNib - (void)awakeFromNib
{ {
[self registerForDraggedTypes:[NSArray arrayWithObjects:@"MozURLType", @"MozBookmarkType", NSStringPboardType, NSURLPboardType, nil]]; [self registerForDraggedTypes:[NSArray arrayWithObjects:@"MozURLType", @"MozBookmarkType", NSStringPboardType, NSURLPboardType, nil]];
// on panther and later, use the alternating row bg color to make the table
// easier to read
if ([self respondsToSelector:@selector(setUsesAlternatingRowBackgroundColors:)])
[self setUsesAlternatingRowBackgroundColors:YES];
} }
-(NSMenu*)menu -(NSMenu*)menu