let banner size increase if we set a big font in it. Fixes #4670
This commit is contained in:
parent
5e710de4ea
commit
54283f7779
|
@ -163,7 +163,6 @@ class ChatControlBase(MessageControl):
|
||||||
|
|
||||||
# Create banner and connect signals
|
# Create banner and connect signals
|
||||||
widget = self.xml.get_widget('banner_eventbox')
|
widget = self.xml.get_widget('banner_eventbox')
|
||||||
widget.set_property('height-request', gajim.config.get('chat_avatar_height'))
|
|
||||||
id_ = widget.connect('button-press-event',
|
id_ = widget.connect('button-press-event',
|
||||||
self._on_banner_eventbox_button_press_event)
|
self._on_banner_eventbox_button_press_event)
|
||||||
self.handlers[id_] = widget
|
self.handlers[id_] = widget
|
||||||
|
@ -1167,6 +1166,8 @@ class ChatControl(ChatControlBase):
|
||||||
self.handlers[id_] = message_tv_buffer
|
self.handlers[id_] = message_tv_buffer
|
||||||
|
|
||||||
widget = self.xml.get_widget('avatar_eventbox')
|
widget = self.xml.get_widget('avatar_eventbox')
|
||||||
|
widget.set_property('height-request', gajim.config.get(
|
||||||
|
'chat_avatar_height'))
|
||||||
id_ = widget.connect('enter-notify-event',
|
id_ = widget.connect('enter-notify-event',
|
||||||
self.on_avatar_eventbox_enter_notify_event)
|
self.on_avatar_eventbox_enter_notify_event)
|
||||||
self.handlers[id_] = widget
|
self.handlers[id_] = widget
|
||||||
|
|
Loading…
Reference in New Issue