From 54283f7779d4f7fddb8036875b4eccc9f3b6241b Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 12 Jan 2009 17:25:27 +0000 Subject: [PATCH] let banner size increase if we set a big font in it. Fixes #4670 --- src/chat_control.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/chat_control.py b/src/chat_control.py index 4d5f3c35d..51977e013 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -163,7 +163,6 @@ class ChatControlBase(MessageControl): # Create banner and connect signals widget = self.xml.get_widget('banner_eventbox') - widget.set_property('height-request', gajim.config.get('chat_avatar_height')) id_ = widget.connect('button-press-event', self._on_banner_eventbox_button_press_event) self.handlers[id_] = widget @@ -1167,6 +1166,8 @@ class ChatControl(ChatControlBase): self.handlers[id_] = message_tv_buffer widget = self.xml.get_widget('avatar_eventbox') + widget.set_property('height-request', gajim.config.get( + 'chat_avatar_height')) id_ = widget.connect('enter-notify-event', self.on_avatar_eventbox_enter_notify_event) self.handlers[id_] = widget