default colors
svn: r6639
This commit is contained in:
parent
0dc0a0b828
commit
722beca835
@ -648,7 +648,7 @@ class PersonView(PageView.PersonNavView):
|
|||||||
column = gtk.TreeViewColumn(
|
column = gtk.TreeViewColumn(
|
||||||
_('Name'),
|
_('Name'),
|
||||||
self.renderer,text=0,
|
self.renderer,text=0,
|
||||||
background=self.model.marker_color_column)
|
foreground=self.model.marker_color_column)
|
||||||
|
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
column = gtk.TreeViewColumn(_('Name'), self.renderer,text=0)
|
column = gtk.TreeViewColumn(_('Name'), self.renderer,text=0)
|
||||||
@ -668,7 +668,7 @@ class PersonView(PageView.PersonNavView):
|
|||||||
try:
|
try:
|
||||||
column = gtk.TreeViewColumn(
|
column = gtk.TreeViewColumn(
|
||||||
name, self.renderer, markup=pair[1],
|
name, self.renderer, markup=pair[1],
|
||||||
background=self.model.marker_color_column)
|
foreground=self.model.marker_color_column)
|
||||||
except AttributeError:
|
except AttributeError:
|
||||||
column = gtk.TreeViewColumn(
|
column = gtk.TreeViewColumn(
|
||||||
name, self.renderer, markup=pair[1])
|
name, self.renderer, markup=pair[1])
|
||||||
|
@ -303,7 +303,7 @@ class PeopleModel(gtk.GenericTreeModel):
|
|||||||
def on_get_value(self, node, col):
|
def on_get_value(self, node, col):
|
||||||
# test for header or data row-type
|
# test for header or data row-type
|
||||||
if self.sname_sub.has_key(node):
|
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:
|
if col == self.marker_color_column:
|
||||||
return None
|
return None
|
||||||
# test for 'header' column being empty (most are)
|
# test for 'header' column being empty (most are)
|
||||||
|
Loading…
Reference in New Issue
Block a user