move sat.tools.jid to sat_frontends.tools.jid
This commit is contained in:
parent
a74ba85c43
commit
987cfbf89d
4 changed files with 19 additions and 19 deletions
|
|
@ -27,7 +27,7 @@ from sat_frontends.quick_frontend.quick_utils import escapePrivate, unescapePriv
|
|||
from sat_frontends.primitivus import xmlui
|
||||
from sat_frontends.primitivus.constants import Const as C
|
||||
import time
|
||||
from sat.tools.jid import JID
|
||||
from sat_frontends.tools.jid import JID
|
||||
|
||||
|
||||
class ChatText(urwid.FlowWidget):
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ import urwid
|
|||
from urwid_satext import sat_widgets
|
||||
from sat_frontends.quick_frontend.quick_contact_list import QuickContactList
|
||||
from sat_frontends.quick_frontend.quick_utils import escapePrivate, unescapePrivate
|
||||
from sat.tools.jid import JID
|
||||
from sat_frontends.tools.jid import JID
|
||||
from sat_frontends.primitivus.status import StatusBar
|
||||
from sat_frontends.primitivus.constants import Const
|
||||
|
||||
|
|
@ -79,7 +79,7 @@ class ContactList(urwid.WidgetWrap, QuickContactList):
|
|||
|
||||
def setFocus(self, text, select=False):
|
||||
"""give focus to the first element that matches the given text. You can also
|
||||
pass in text a sat.tools.jid.JID (it's a subclass of unicode).
|
||||
pass in text a sat_frontends.tools.jid.JID (it's a subclass of unicode).
|
||||
@param text: contact group name, contact or muc userhost, muc private dialog jid
|
||||
@param select: if True, the element is also clicked
|
||||
"""
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ from sat_frontends.primitivus.progress import Progress
|
|||
from sat_frontends.primitivus.notify import Notify
|
||||
from sat_frontends.tools.misc import InputHistory
|
||||
from sat_frontends.constants import Const as commonConst # FIXME
|
||||
from sat.tools.jid import JID
|
||||
from sat_frontends.tools.jid import JID
|
||||
from os.path import join
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ from sat.core.i18n import _
|
|||
from sat_frontends.primitivus.constants import Const as C
|
||||
import urwid
|
||||
from urwid_satext.sat_widgets import AdvancedEdit, Password, List, InputDialog, ConfirmDialog, Alert
|
||||
from sat.tools.jid import JID
|
||||
from sat_frontends.tools.jid import JID
|
||||
|
||||
|
||||
class ProfileManager(urwid.WidgetWrap):
|
||||
|
|
|
|||
Loading…
Reference in a new issue