From a3dfd55e049d289ff8086878eadcea4f8e258502 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Mon, 15 May 2017 22:41:18 +0100 Subject: Merge /unquery and /close into OneToOneTab. --- poezio/tabs/conversationtab.py | 8 -------- 1 file changed, 8 deletions(-) (limited to 'poezio/tabs/conversationtab.py') diff --git a/poezio/tabs/conversationtab.py b/poezio/tabs/conversationtab.py index 461d8fae..5c309672 100644 --- a/poezio/tabs/conversationtab.py +++ b/poezio/tabs/conversationtab.py @@ -51,10 +51,6 @@ class ConversationTab(OneToOneTab): # keys self.key_func['^I'] = self.completion # commands - self.register_command('unquery', self.command_unquery, - shortdesc='Close the tab.') - self.register_command('close', self.command_unquery, - shortdesc='Close the tab.') self.register_command('version', self.command_version, desc='Get the software version of the current interlocutor (usually its XMPP client and Operating System).', shortdesc='Get the software version of the user.') @@ -205,10 +201,6 @@ class ConversationTab(OneToOneTab): self._text_buffer.add_message("\x19%(info_col)s}No information available\x19o" % {'info_col': dump_tuple(get_theme().COLOR_INFORMATION_TEXT)}) return True - @command_args_parser.ignored - def command_unquery(self): - self.core.close_tab(self) - @command_args_parser.quoted(0, 1) def command_version(self, args): """ -- cgit v1.2.3