summaryrefslogtreecommitdiff
path: root/src/core/commands.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2014-04-05 17:57:45 +0200
committermathieui <mathieui@mathieui.net>2014-04-05 17:57:45 +0200
commit8def5609d925c89004c906d67a7e1d3028706f32 (patch)
tree8fea6007ca73b82e0be992b90dc472634a050701 /src/core/commands.py
parent587450939b5f2ab3b4cb46f44c6ab08e15722caf (diff)
downloadpoezio-8def5609d925c89004c906d67a7e1d3028706f32.tar.gz
poezio-8def5609d925c89004c906d67a7e1d3028706f32.tar.bz2
poezio-8def5609d925c89004c906d67a7e1d3028706f32.tar.xz
poezio-8def5609d925c89004c906d67a7e1d3028706f32.zip
Remove the pubsub-related stuff from the main branch
as it is unused code anyway.
Diffstat (limited to 'src/core/commands.py')
-rw-r--r--src/core/commands.py17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/core/commands.py b/src/core/commands.py
index fb8dc2eb..5be95207 100644
--- a/src/core/commands.py
+++ b/src/core/commands.py
@@ -20,7 +20,6 @@ import bookmark
import common
import fixes
import pep
-import pubsub
import tabs
import theming
from common import safeJID
@@ -764,22 +763,6 @@ def command_bind(self, arg):
else:
self.information('%s is now unbound' % args[0], 'Info')
-def command_pubsub(self, args):
- """
- Opens a pubsub browser on the given domain
- """
- args = common.shell_split(args)
- if len(args) != 1:
- return self.command_help('pubsub')
- domain = args[0]
- tab = self.get_tab_by_name('%s@@pubsubbrowser' % (domain,), pubsub.PubsubBrowserTab)
- if tab:
- self.command_win('%s' % tab.nb)
- else:
- new_tab = pubsub.PubsubBrowserTab(domain)
- self.add_tab(new_tab, True)
- self.refresh_window()
-
def command_rawxml(self, arg):
"""
/rawxml <xml stanza>