diff options
author | Florent Le Coz <louiz@louiz.org> | 2011-11-06 03:41:47 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2011-11-06 03:41:47 +0100 |
commit | 1a2d7784fea7bbdd9b30a0a93c1f52c7583468bd (patch) | |
tree | a17bd22c09d511da18c1ae1e1437971571a089b2 /src/core.py | |
parent | d76b37f825b53e0b55eb0f8d95c7f8eb7d3d7eff (diff) | |
parent | 0dd3b171e5049276b15b9287915aa7a124ae9420 (diff) | |
download | poezio-1a2d7784fea7bbdd9b30a0a93c1f52c7583468bd.tar.gz poezio-1a2d7784fea7bbdd9b30a0a93c1f52c7583468bd.tar.bz2 poezio-1a2d7784fea7bbdd9b30a0a93c1f52c7583468bd.tar.xz poezio-1a2d7784fea7bbdd9b30a0a93c1f52c7583468bd.zip |
Merge branch 'plugins' of http://git.louiz.org/poezio into plugins
Diffstat (limited to 'src/core.py')
-rw-r--r-- | src/core.py | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/core.py b/src/core.py index 2176f43d..9ea53f9b 100644 --- a/src/core.py +++ b/src/core.py @@ -123,11 +123,7 @@ class Core(object): 'prev': (self.rotate_rooms_left, _("Usage: /prev\nPrev: Go to the previous room."), None), 'win': (self.command_win, _("Usage: /win <number>\nWin: Go to the specified room."), self.completion_win), 'w': (self.command_win, _("Usage: /w <number>\nW: Go to the specified room."), self.completion_win), - 'show': (self.command_status, _('Usage: /show <availability> [status message]\nShow: Sets your availability and (optionaly) your status message. The <availability> argument is one of \"available, chat, away, afk, dnd, busy, xa\" and the optional [status] argument will be your status message.'), self.completion_status), 'status': (self.command_status, _('Usage: /status <availability> [status message]\nStatus: Sets your availability and (optionaly) your status message. The <availability> argument is one of \"available, chat, away, afk, dnd, busy, xa\" and the optional [status] argument will be your status message.'), self.completion_status), - 'away': (self.command_away, _("Usage: /away [message]\nAway: Sets your availability to away and (optionaly) your status message. This is equivalent to '/status away [message]'"), None), - 'busy': (self.command_busy, _("Usage: /busy [message]\nBusy: Sets your availability to busy and (optionaly) your status message. This is equivalent to '/status busy [message]'"), None), - 'available': (self.command_avail, _("Usage: /available [message]\nAvailable: Sets your availability to available and (optionaly) your status message. This is equivalent to '/status available [message]'"), None), 'bookmark': (self.command_bookmark, _("Usage: /bookmark [roomname][/nick]\nBookmark: Bookmark the specified room (you will then auto-join it on each poezio start). This commands uses the same syntaxe as /join. Type /help join for syntaxe examples. Note that when typing \"/bookmark\" on its own, the room will be bookmarked with the nickname you\'re currently using in this room (instead of default_nick)"), None), 'set': (self.command_set, _("Usage: /set <option> [value]\nSet: Sets the value to the option in your configuration file. You can, for example, change your default nickname by doing `/set default_nick toto` or your resource with `/set resource blabla`. You can also set an empty value (nothing) by providing no [value] after <option>."), None), 'theme': (self.command_theme, _('Usage: /theme\nTheme: Reload the theme defined in the config file.'), None), @@ -1478,24 +1474,6 @@ class Core(object): msg = "%s=%s" % (option, value) self.information(msg, 'Info') - def command_away(self, arg): - """ - /away [msg] - """ - self.command_status("away "+arg) - - def command_busy(self, arg): - """ - /busy [msg] - """ - self.command_status("busy "+arg) - - def command_avail(self, arg): - """ - /avail [msg] - """ - self.command_status("available "+arg) - def close_tab(self, tab=None): """ Close the given tab. If None, close the current one |