summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/core.py3
-rw-r--r--src/tabs/__init__.py1
-rw-r--r--src/tabs/data_forms.py (renamed from src/data_forms.py)0
3 files changed, 2 insertions, 2 deletions
diff --git a/src/core/core.py b/src/core/core.py
index 805cd838..e38e37d1 100644
--- a/src/core/core.py
+++ b/src/core/core.py
@@ -35,7 +35,6 @@ from common import safeJID
from config import config, firstrun
from contact import Contact, Resource
from daemon import Executor
-from data_forms import DataFormsTab
from fifo import Fifo
from keyboard import Keyboard
from logger import logger
@@ -1165,7 +1164,7 @@ class Core(object):
The callback are called with the completed form as parameter in
addition with kwargs
"""
- form_tab = DataFormsTab(form, on_cancel, on_send, kwargs)
+ form_tab = tabs.DataFormsTab(form, on_cancel, on_send, kwargs)
self.add_tab(form_tab, True)
### Modifying actions ###
diff --git a/src/tabs/__init__.py b/src/tabs/__init__.py
index a0ad089b..67c686b5 100644
--- a/src/tabs/__init__.py
+++ b/src/tabs/__init__.py
@@ -7,3 +7,4 @@ from . conversationtab import ConversationTab, StaticConversationTab,\
DynamicConversationTab
from . xmltab import XMLTab
from . muclisttab import MucListTab
+from . data_forms import DataFormsTab
diff --git a/src/data_forms.py b/src/tabs/data_forms.py
index 8de05bbd..8de05bbd 100644
--- a/src/data_forms.py
+++ b/src/tabs/data_forms.py