summaryrefslogtreecommitdiff
path: root/src/core.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-10-14 20:24:47 +0200
committermathieui <mathieui@mathieui.net>2012-10-14 20:24:47 +0200
commit931835e22bdd014a4460f04c7c14b9766ea6458a (patch)
tree9c4cfeef14d669dcab1f2f21f0c7280b6b459ce8 /src/core.py
parentfd14f700b6b9315afca975c818d9bf5883cd554a (diff)
downloadpoezio-931835e22bdd014a4460f04c7c14b9766ea6458a.tar.gz
poezio-931835e22bdd014a4460f04c7c14b9766ea6458a.tar.bz2
poezio-931835e22bdd014a4460f04c7c14b9766ea6458a.tar.xz
poezio-931835e22bdd014a4460f04c7c14b9766ea6458a.zip
Rename /connect to /reconnect and make it rostertab-only
Diffstat (limited to 'src/core.py')
-rw-r--r--src/core.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/core.py b/src/core.py
index 7b152549..87a1ca8b 100644
--- a/src/core.py
+++ b/src/core.py
@@ -169,7 +169,6 @@ class Core(object):
'list': (self.command_list, _('Usage: /list\nList: Get the list of public chatrooms on the specified server.'), self.completion_list),
'message': (self.command_message, _('Usage: /message <jid> [optional message]\nMessage: Open a conversation with the specified JID (even if it is not in our roster), and send a message to it, if the message is specified.'), self.completion_version),
'version': (self.command_version, _('Usage: /version <jid>\nVersion: Get the software version of the given JID (usually its XMPP client and Operating System).'), self.completion_version),
- 'connect': (self.command_reconnect, _('Usage: /connect\nConnect: Disconnect from the remote server if you are currently connected and then connect to it again.'), None),
'server_cycle': (self.command_server_cycle, _('Usage: /server_cycle [domain] [message]\nServer Cycle: Disconnect and reconnect in all the rooms in domain.'), self.completion_server_cycle),
'bind': (self.command_bind, _('Usage: /bind <key> <equ>\nBind: Bind a key to an other key or to a “command”. For example "/bind ^H KEY_UP" makes Control + h do the same same as the Up key.'), None),
'load': (self.command_load, _('Usage: /load <plugin>\nLoad: Load the specified plugin'), self.plugin_manager.completion_load),
@@ -226,7 +225,6 @@ class Core(object):
'_close_tab': self.close_tab,
'_disconnect': self.disconnect,
'_quit': self.command_quit,
- '_reconnect': self.command_reconnect,
'_redraw_screen': self.full_screen_redraw,
'_reload_theme': self.command_theme,
'_remove_bookmark': self.command_remove_bookmark,
@@ -2256,12 +2254,6 @@ class Core(object):
if len(args) > 1:
tab.command_say(args[1])
- def command_reconnect(self, args=None):
- """
- /reconnect
- """
- self.disconnect(reconnect=True)
-
def command_xml_tab(self, arg=''):
"""/xml_tab"""
self.xml_tab = True