Skip to content
Snippets Groups Projects
Commit 50139455 authored by dkirov's avatar dkirov
Browse files

ACTIVE, instead of PRELIGHT

parent 12527866
No related branches found
No related tags found
No related merge requests found
......@@ -2758,10 +2758,10 @@ def on_show_offline_contacts_menuitem_activate(self, widget):
def set_renderer_color(self, renderer, set_background = True):
'''set style for treeview cell, using PRELIGHT system color'''
if set_background:
bgcolor = self.tree.style.bg[gtk.STATE_PRELIGHT]
bgcolor = self.tree.style.bg[gtk.STATE_ACTIVE]
renderer.set_property('cell-background-gdk', bgcolor)
else:
fgcolor = self.tree.style.fg[gtk.STATE_PRELIGHT]
fgcolor = self.tree.style.fg[gtk.STATE_ACTIVE]
renderer.set_property('foreground-gdk', fgcolor)
def iconCellDataFunc(self, column, renderer, model, iter, data = None):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment