don't depend on GTK2.14. Fixes #5213
This commit is contained in:
parent
3c8e88b0b5
commit
59384fa689
|
@ -426,7 +426,7 @@ class ChatControlBase(MessageControl):
|
|||
if default_bg or default_fg:
|
||||
self._on_style_set_event(banner_name_label, None, default_fg,
|
||||
default_bg)
|
||||
if self.banner_status_label.get_property('window'):
|
||||
if self.banner_status_label.flags() & gtk.REALIZED:
|
||||
# Widget is realized
|
||||
self._on_style_set_event(self.banner_status_label, None, default_fg,
|
||||
default_bg)
|
||||
|
|
Loading…
Reference in New Issue