From 26b0e1bc0a8c0fdad89c3719e3055489391cdcf4 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Thu, 7 Dec 2006 21:32:53 +0000 Subject: [PATCH] rendre role rows in muc the same way we render groups in roster. fixes #2765 --- src/groupchat_control.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/groupchat_control.py b/src/groupchat_control.py index f3d5803f2..85e53b23c 100644 --- a/src/groupchat_control.py +++ b/src/groupchat_control.py @@ -90,6 +90,8 @@ def tree_cell_data_func(column, renderer, model, iter, tv=None): renderer.set_property('foreground', color) else: set_renderer_color(tv, renderer, False) + renderer.set_property('font', + gtkgui_helpers.get_theme_font_for_option(theme, 'groupfont')) class PrivateChatControl(ChatControl): TYPE_ID = message_control.TYPE_PM @@ -945,7 +947,7 @@ class GroupchatControl(ChatControlBase): if not role_iter: role_iter = model.append(None, (gajim.interface.roster.jabber_state_images['16']['closed'], role, - 'role', '%s' % role_name, None)) + 'role', '%s' % role_name, None)) iter = model.append(role_iter, (None, nick, 'contact', name, None)) if not nick in gajim.contacts.get_nick_list(self.account, self.room_jid): gc_contact = gajim.contacts.create_gc_contact(room_jid = self.room_jid,