internal: remove unused get_text_window
This commit is contained in:
parent
b61db7d0bb
commit
e4b21822d3
4 changed files with 0 additions and 15 deletions
|
@ -390,12 +390,6 @@ class Tab:
|
|||
"""
|
||||
return self.name
|
||||
|
||||
def get_text_window(self) -> Optional[windows.TextWin]:
|
||||
"""
|
||||
Returns the principal TextWin window, if there's one
|
||||
"""
|
||||
return None
|
||||
|
||||
def on_input(self, key: str, raw: bool):
|
||||
"""
|
||||
raw indicates if the key should activate the associated command or not.
|
||||
|
|
|
@ -439,9 +439,6 @@ class ConversationTab(OneToOneTab):
|
|||
1, self.width, self.height - 2 - self.core.information_win_size -
|
||||
Tab.tab_win_height(), 0)
|
||||
|
||||
def get_text_window(self):
|
||||
return self.text_win
|
||||
|
||||
def on_close(self):
|
||||
Tab.on_close(self)
|
||||
if config.get_by_tabname('send_chat_states', self.general_jid):
|
||||
|
|
|
@ -466,9 +466,6 @@ class MucTab(ChatTab):
|
|||
# TODO: send the disco#info identity name here, if it exists.
|
||||
return self.jid.node
|
||||
|
||||
def get_text_window(self) -> windows.TextWin:
|
||||
return self.text_win
|
||||
|
||||
def on_lose_focus(self) -> None:
|
||||
if self.joined:
|
||||
if self.input.text:
|
||||
|
|
|
@ -361,9 +361,6 @@ class PrivateTab(OneToOneTab):
|
|||
1, self.width, self.height - 2 - self.core.information_win_size -
|
||||
Tab.tab_win_height(), 0)
|
||||
|
||||
def get_text_window(self):
|
||||
return self.text_win
|
||||
|
||||
@refresh_wrapper.conditional
|
||||
def rename_user(self, old_nick, user):
|
||||
"""
|
||||
|
|
Loading…
Reference in a new issue