summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-05-01 05:24:50 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-05-01 05:24:50 +0200
commitf7a5847f75f4cd2171f9b1ddf5bf2320af0411c1 (patch)
treea8bbb7527219cc76a55310b02c713705168f36fb
parentc287a959b424efbff3817352d33f0a12e9eacdfb (diff)
downloadpoezio-f7a5847f75f4cd2171f9b1ddf5bf2320af0411c1.tar.gz
poezio-f7a5847f75f4cd2171f9b1ddf5bf2320af0411c1.tar.bz2
poezio-f7a5847f75f4cd2171f9b1ddf5bf2320af0411c1.tar.xz
poezio-f7a5847f75f4cd2171f9b1ddf5bf2320af0411c1.zip
Move data_forms in the tabs directory
-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