diff --git a/src/chat_control.py b/src/chat_control.py index ba01a9846..9f38b7676 100644 --- a/src/chat_control.py +++ b/src/chat_control.py @@ -469,7 +469,6 @@ class ChatControlBase(MessageControl, ChatCommandProcessor, CommandTools): self.user_nick = None self.smooth = True - self.msg_textview.grab_focus() self.command_hits = [] self.last_key_tabs = False diff --git a/src/groupchat_control.py b/src/groupchat_control.py index 9581124f3..541f9bb40 100644 --- a/src/groupchat_control.py +++ b/src/groupchat_control.py @@ -1307,7 +1307,6 @@ class GroupchatControl(ChatControlBase): self._update_banner_state_image() if self.parent_win: self.parent_win.redraw_tab(self) - gobject.idle_add(self.msg_textview.grab_focus) def got_disconnected(self): self.list_treeview.set_model(None) diff --git a/src/message_window.py b/src/message_window.py index c46d629e7..57d4cc5bd 100644 --- a/src/message_window.py +++ b/src/message_window.py @@ -307,7 +307,6 @@ class MessageWindow(object): # NOTE: we do not call set_control_active(True) since we don't know # whether the tab is the active one. self.show_title() - gobject.idle_add(control.msg_textview.grab_focus) def on_tab_eventbox_button_press_event(self, widget, event, child): if event.button == 3: # right click