Correctly set focus

This commit is contained in:
Denis Fomin 2010-12-10 23:53:47 +03:00
parent 38abd6e6f9
commit e3d3994a95

View file

@ -471,7 +471,7 @@ class GroupchatControl(ChatControlBase):
ChatControlBase.got_disconnected(self)
self.update_ui()
self.conv_textview.tv.grab_focus()
gobject.idle_add(self.conv_textview.tv.grab_focus)
self.widget.show_all()
# PluginSystem: adding GUI extension point for this GroupchatControl