This commit is contained in:
parent
1d980fa2ef
commit
fdb63bcd0c
|
@ -469,7 +469,6 @@ class ChatControlBase(MessageControl, ChatCommandProcessor, CommandTools):
|
||||||
self.user_nick = None
|
self.user_nick = None
|
||||||
|
|
||||||
self.smooth = True
|
self.smooth = True
|
||||||
self.msg_textview.grab_focus()
|
|
||||||
|
|
||||||
self.command_hits = []
|
self.command_hits = []
|
||||||
self.last_key_tabs = False
|
self.last_key_tabs = False
|
||||||
|
|
|
@ -1307,7 +1307,6 @@ 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.set_model(None)
|
self.list_treeview.set_model(None)
|
||||||
|
|
|
@ -307,7 +307,6 @@ class MessageWindow(object):
|
||||||
# NOTE: we do not call set_control_active(True) since we don't know
|
# NOTE: we do not call set_control_active(True) since we don't know
|
||||||
# whether the tab is the active one.
|
# whether the tab is the active one.
|
||||||
self.show_title()
|
self.show_title()
|
||||||
gobject.idle_add(control.msg_textview.grab_focus)
|
|
||||||
|
|
||||||
def on_tab_eventbox_button_press_event(self, widget, event, child):
|
def on_tab_eventbox_button_press_event(self, widget, event, child):
|
||||||
if event.button == 3: # right click
|
if event.button == 3: # right click
|
||||||
|
|
Loading…
Reference in New Issue