gc window. set focus to message textview(not to conversation textview)

This commit is contained in:
Denis Fomin 2010-12-11 10:58:12 +03:00
parent e3d3994a95
commit 6b6e598c4d
1 changed files with 1 additions and 1 deletions

View File

@ -471,7 +471,6 @@ class GroupchatControl(ChatControlBase):
ChatControlBase.got_disconnected(self) ChatControlBase.got_disconnected(self)
self.update_ui() self.update_ui()
gobject.idle_add(self.conv_textview.tv.grab_focus)
self.widget.show_all() self.widget.show_all()
# PluginSystem: adding GUI extension point for this GroupchatControl # PluginSystem: adding GUI extension point for this GroupchatControl
@ -1254,6 +1253,7 @@ class GroupchatControl(ChatControlBase):
self._update_banner_state_image() self._update_banner_state_image()
if self.parent_win: if self.parent_win:
self.parent_win.redraw_tab(self) self.parent_win.redraw_tab(self)
gobject.idle_add(self.msg_textview.grab_focus)
def got_disconnected(self): def got_disconnected(self):
self.list_treeview.get_model().clear() self.list_treeview.get_model().clear()