summaryrefslogtreecommitdiff
path: root/poezio/tabs
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-04-01 00:21:57 +0100
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2016-06-12 14:34:44 +0100
commit6d2bb1eab812901dd60c0e363de2278cf107a0ae (patch)
treeb4474b2e889b466e26c6d5a48abdb89a30a1a737 /poezio/tabs
parent34d110e643824ee5bc48705e5fdf4024af6dd82b (diff)
downloadpoezio-6d2bb1eab812901dd60c0e363de2278cf107a0ae.tar.gz
poezio-6d2bb1eab812901dd60c0e363de2278cf107a0ae.tar.bz2
poezio-6d2bb1eab812901dd60c0e363de2278cf107a0ae.tar.xz
poezio-6d2bb1eab812901dd60c0e363de2278cf107a0ae.zip
Fix core handlers, broken in the previous commit.
Diffstat (limited to 'poezio/tabs')
-rw-r--r--poezio/tabs/adhoc_commands_list.py4
-rw-r--r--poezio/tabs/muctab.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/poezio/tabs/adhoc_commands_list.py b/poezio/tabs/adhoc_commands_list.py
index 10ebf22b..66f0691a 100644
--- a/poezio/tabs/adhoc_commands_list.py
+++ b/poezio/tabs/adhoc_commands_list.py
@@ -26,8 +26,8 @@ class AdhocCommandsListTab(ListTab):
if not self.listview or not self.listview.get_selected_row():
return
node, name, jid = self.listview.get_selected_row()
- session = {'next': self.core.on_next_adhoc_step,
- 'error': self.core.on_adhoc_error}
+ session = {'next': self.core.handler.next_adhoc_step,
+ 'error': self.core.handler.adhoc_error}
self.core.xmpp.plugin['xep_0050'].start_command(jid, node, session)
def get_columns_sizes(self):
diff --git a/poezio/tabs/muctab.py b/poezio/tabs/muctab.py
index 28161a6d..ff4471d8 100644
--- a/poezio/tabs/muctab.py
+++ b/poezio/tabs/muctab.py
@@ -1270,7 +1270,7 @@ class MucTab(ChatTab):
if user.nick == self.own_nick:
self.own_nick = new_nick
# also change our nick in all private discussions of this room
- self.core.on_muc_own_nickchange(self)
+ self.core.handler.muc_own_nickchange(self)
else:
color = config.get_by_tabname(new_nick, 'muc_colors')
if color != '':