let banner size increase if we set a big font in it. Fixes #4670

This commit is contained in:
Yann Leboulanger 2009-01-12 17:25:27 +00:00
parent 5e710de4ea
commit 54283f7779
1 changed files with 2 additions and 1 deletions

View File

@ -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