From 6976e2c9c0d92b87687b7c03d6559038c64f7bf4 Mon Sep 17 00:00:00 2001 From: Don Allingham Date: Sat, 13 May 2006 04:45:46 +0000 Subject: [PATCH] default colors svn: r6639 --- src/DataViews/_PersonView.py | 4 ++-- src/PeopleModel.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/DataViews/_PersonView.py b/src/DataViews/_PersonView.py index 0918ea53b..f79d65315 100644 --- a/src/DataViews/_PersonView.py +++ b/src/DataViews/_PersonView.py @@ -648,7 +648,7 @@ class PersonView(PageView.PersonNavView): column = gtk.TreeViewColumn( _('Name'), self.renderer,text=0, - background=self.model.marker_color_column) + foreground=self.model.marker_color_column) except AttributeError: column = gtk.TreeViewColumn(_('Name'), self.renderer,text=0) @@ -668,7 +668,7 @@ class PersonView(PageView.PersonNavView): try: column = gtk.TreeViewColumn( name, self.renderer, markup=pair[1], - background=self.model.marker_color_column) + foreground=self.model.marker_color_column) except AttributeError: column = gtk.TreeViewColumn( name, self.renderer, markup=pair[1]) diff --git a/src/PeopleModel.py b/src/PeopleModel.py index d7787437e..2a04fd50b 100644 --- a/src/PeopleModel.py +++ b/src/PeopleModel.py @@ -303,7 +303,7 @@ class PeopleModel(gtk.GenericTreeModel): def on_get_value(self, node, col): # test for header or data row-type if self.sname_sub.has_key(node): - # Header rows dont get the background color set + # Header rows dont get the foreground color set if col == self.marker_color_column: return None # test for 'header' column being empty (most are)