diff options
author | mathieui <mathieui@mathieui.net> | 2013-08-01 12:38:46 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2013-08-01 12:38:46 +0200 |
commit | 2744234d52016ae06f4c72193c5b1faebc57ddd1 (patch) | |
tree | 31f1ff0b5d6ff3994d3920e0fc75ae3ef8ad374d /src/tabs.py | |
parent | 2730d8a2b5defb76ba206b472432a82c59560fb0 (diff) | |
download | poezio-2744234d52016ae06f4c72193c5b1faebc57ddd1.tar.gz poezio-2744234d52016ae06f4c72193c5b1faebc57ddd1.tar.bz2 poezio-2744234d52016ae06f4c72193c5b1faebc57ddd1.tar.xz poezio-2744234d52016ae06f4c72193c5b1faebc57ddd1.zip |
Move /clear_infos to /clear for consistency
Diffstat (limited to 'src/tabs.py')
-rw-r--r-- | src/tabs.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tabs.py b/src/tabs.py index 3890adaf..ceb69278 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -2206,7 +2206,7 @@ class RosterInfoTab(Tab): desc=_('Import your contacts from /path/to/file if specified, or $HOME/poezio_contacts if not.'), shortdesc=_('Import your roster from a file.'), completion=self.completion_file) - self.register_command('clear_infos', self.command_clear_infos, + self.register_command('clear', self.command_clear, shortdesc=_('Clear the info buffer.')) self.register_command('last_activity', self.command_last_activity, usage=_('<jid>'), @@ -2394,9 +2394,9 @@ class RosterInfoTab(Tab): return the_input.auto_completion(end_list, '') - def command_clear_infos(self, arg): + def command_clear(self, arg=''): """ - /clear_infos + /clear """ self.core.information_buffer.messages = [] self.information_win.rebuild_everything(self.core.information_buffer) |