summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2021-03-25 22:40:41 +0100
committermathieui <mathieui@mathieui.net>2021-04-02 17:44:36 +0200
commit90af21f6807a1a1a7591325ca3ef68d0566c5fe8 (patch)
tree5441244f73bc3a12d9566d8428b3d11e7bce8101 /plugins
parentde265268da94e7ee7a6b3ada364a9d5346848022 (diff)
downloadpoezio-90af21f6807a1a1a7591325ca3ef68d0566c5fe8.tar.gz
poezio-90af21f6807a1a1a7591325ca3ef68d0566c5fe8.tar.bz2
poezio-90af21f6807a1a1a7591325ca3ef68d0566c5fe8.tar.xz
poezio-90af21f6807a1a1a7591325ca3ef68d0566c5fe8.zip
fix: forgotten gaptab constructor calls
Diffstat (limited to 'plugins')
-rw-r--r--plugins/reorder.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/reorder.py b/plugins/reorder.py
index 38975a02..00961dbf 100644
--- a/plugins/reorder.py
+++ b/plugins/reorder.py
@@ -167,7 +167,7 @@ class Plugin(BasePlugin):
for pos in sorted(tabs_spec):
if create_gaps and pos > last + 1:
new_tabs += [
- tabs.GapTab(self.core) for i in range(pos - last - 1)
+ tabs.GapTab() for i in range(pos - last - 1)
]
cls, jid = tabs_spec[pos]
try:
@@ -183,11 +183,11 @@ class Plugin(BasePlugin):
new_tab = cls(self.core, jid)
new_tabs.append(new_tab)
else:
- new_tabs.append(tabs.GapTab(self.core))
+ new_tabs.append(tabs.GapTab())
except:
self.api.information('Failed to create tab \'%s\'.' % jid, 'Error')
if create_gaps:
- new_tabs.append(tabs.GapTab(self.core))
+ new_tabs.append(tabs.GapTab())
finally:
last = pos