mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-29 07:42:04 +00:00
use alternating row bg colors in outliner on panther to make it easier to read
This commit is contained in:
parent
c62687dd9e
commit
cf08cf4885
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user