From 2db9bfb9cecfc0e37412abae1dbd94c4a9addea9 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 29 Jun 2005 21:13:38 +0000 Subject: [PATCH] bg colors are back in gc --- src/groupchat_window.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/groupchat_window.py b/src/groupchat_window.py index b77afee61..a8eb88924 100644 --- a/src/groupchat_window.py +++ b/src/groupchat_window.py @@ -930,12 +930,12 @@ 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') - renderer.set_property('cell-background', bgcolor) + bgcolor = gajim.config.get_per('themes', theme, 'groupbgcolor') + renderer.set_property('cell-background', bgcolor) def on_actions_button_clicked(self, button): """popup action menu"""