From 3b310877cf65ddd53e441ccf1790e534719aa320 Mon Sep 17 00:00:00 2001 From: "pinkerton%aol.net" Date: Wed, 12 May 2004 03:48:08 +0000 Subject: [PATCH] use alternating row bg colors in outliner on panther to make it easier to read git-svn-id: svn://10.0.0.236/trunk@156281 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/camino/src/bookmarks/BookmarkOutlineView.mm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mozilla/camino/src/bookmarks/BookmarkOutlineView.mm b/mozilla/camino/src/bookmarks/BookmarkOutlineView.mm index 0eab303e6a8..5ec3b7586e4 100644 --- a/mozilla/camino/src/bookmarks/BookmarkOutlineView.mm +++ b/mozilla/camino/src/bookmarks/BookmarkOutlineView.mm @@ -51,6 +51,11 @@ - (void)awakeFromNib { [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