don't depend on GTK2.14. Fixes #5213

This commit is contained in:
Yann Leboulanger 2009-08-07 23:43:19 +02:00
parent 3c8e88b0b5
commit 59384fa689
1 changed files with 1 additions and 1 deletions

View File

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