no need to realize a widget that is already NOT invisible
This commit is contained in:
parent
ac8c6a06aa
commit
ba15eb2114
|
@ -231,7 +231,6 @@ class ChatControlBase(MessageControl):
|
||||||
if opts[0]:
|
if opts[0]:
|
||||||
fg_color = widget.style.fg[gtk.STATE_SELECTED]
|
fg_color = widget.style.fg[gtk.STATE_SELECTED]
|
||||||
widget.modify_fg(gtk.STATE_NORMAL, fg_color)
|
widget.modify_fg(gtk.STATE_NORMAL, fg_color)
|
||||||
widget.realize()
|
|
||||||
self.connect_style_event(widget, opts[0], opts[1])
|
self.connect_style_event(widget, opts[0], opts[1])
|
||||||
|
|
||||||
def _on_keypress_event(self, widget, event):
|
def _on_keypress_event(self, widget, event):
|
||||||
|
|
Loading…
Reference in New Issue