From e52585823126f8bc66222be9d5e78be3fd20af24 Mon Sep 17 00:00:00 2001 From: Alexander Cherniuk Date: Sun, 10 Jan 2010 08:42:08 +0200 Subject: [PATCH] Removed alias duplication of some commands --- src/command_system/implementation/standard.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/command_system/implementation/standard.py b/src/command_system/implementation/standard.py index 1ae3c91dd..91bfbc8e9 100644 --- a/src/command_system/implementation/standard.py +++ b/src/command_system/implementation/standard.py @@ -171,7 +171,7 @@ class StandardChatCommands(CommandContainer): raise CommandError(_('Command is not supported for zeroconf accounts')) gajim.connections[self.account].sendPing(self.contact) - @command('dtmf') + @command @documentation(_("Sends DTMF events through an open audio session")) def dtmf(self, events): if not self.audio_sid: @@ -187,7 +187,7 @@ class StandardChatCommands(CommandContainer): else: raise CommandError(_("No valid DTMF event specified")) - @command('audio') + @command @documentation(_("Toggle audio session")) def audio(self): if self.audio_state == self.JINGLE_STATE_NOT_AVAILABLE: @@ -198,7 +198,7 @@ class StandardChatCommands(CommandContainer): state = self._audio_button.get_active() self._audio_button.set_active(not state) - @command('video') + @command @documentation(_("Toggle video session")) def video(self): if self.video_state == self.JINGLE_STATE_NOT_AVAILABLE: