no need to realize a widget that is already NOT invisible

This commit is contained in:
Nikos Kouremenos 2006-03-25 10:50:13 +00:00
parent ac8c6a06aa
commit ba15eb2114
1 changed files with 0 additions and 1 deletions

View File

@ -231,7 +231,6 @@ class ChatControlBase(MessageControl):
if opts[0]:
fg_color = widget.style.fg[gtk.STATE_SELECTED]
widget.modify_fg(gtk.STATE_NORMAL, fg_color)
widget.realize()
self.connect_style_event(widget, opts[0], opts[1])
def _on_keypress_event(self, widget, event):