default colors
svn: r6639
This commit is contained in:
parent
b9cc6e8bf0
commit
6976e2c9c0
@ -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])
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user