Don't use hardcoded 'black' as text colour for non-money stats in the stat viewers. Use the theme default instead.
This commit is contained in:
parent
13dbfa2914
commit
1e6ce47dc0
|
@ -339,7 +339,7 @@ class GuiRingPlayerStats (GuiPlayerStats.GuiPlayerStats):
|
||||||
#end def createStatsTable
|
#end def createStatsTable
|
||||||
|
|
||||||
def reset_style_render_func(self, treeviewcolumn, cell, model, iter):
|
def reset_style_render_func(self, treeviewcolumn, cell, model, iter):
|
||||||
cell.set_property('foreground', 'black')
|
cell.set_property('foreground', None)
|
||||||
#end def reset_style_render_func
|
#end def reset_style_render_func
|
||||||
|
|
||||||
def ledger_style_render_func(self, tvcol, cell, model, iter):
|
def ledger_style_render_func(self, tvcol, cell, model, iter):
|
||||||
|
|
|
@ -434,7 +434,7 @@ class GuiTourneyPlayerStats (GuiPlayerStats.GuiPlayerStats):
|
||||||
#end def refreshStats
|
#end def refreshStats
|
||||||
|
|
||||||
def reset_style_render_func(self, treeviewcolumn, cell, model, iter):
|
def reset_style_render_func(self, treeviewcolumn, cell, model, iter):
|
||||||
cell.set_property('foreground', 'black')
|
cell.set_property('foreground', None)
|
||||||
#end def reset_style_render_func
|
#end def reset_style_render_func
|
||||||
|
|
||||||
def sortCols(self, col, nums):
|
def sortCols(self, col, nums):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user