bg colors are back in gc
This commit is contained in:
parent
2563414ccd
commit
2db9bfb9ce
|
@ -930,11 +930,11 @@ class GroupchatWindow(chat.Chat):
|
|||
self.hpaneds[room_jid].set_position(self.hpaned_position)
|
||||
|
||||
def tree_cell_data_func(self, column, renderer, model, iter, data=None):
|
||||
theme = gajim.config.get('roster_theme')
|
||||
if model.iter_parent(iter):
|
||||
bgcolor = gajim.config.get('userbgcolor')
|
||||
renderer.set_property('cell-background', bgcolor)
|
||||
bgcolor = gajim.config.get_per('themes', theme, 'contactbgcolor')
|
||||
else: # it is root (eg. group)
|
||||
bgcolor = gajim.config.get('groupbgcolor')
|
||||
bgcolor = gajim.config.get_per('themes', theme, 'groupbgcolor')
|
||||
renderer.set_property('cell-background', bgcolor)
|
||||
|
||||
def on_actions_button_clicked(self, button):
|
||||
|
|
Loading…
Reference in New Issue