diff options
Diffstat (limited to 'poezio/windows')
-rw-r--r-- | poezio/windows/base_wins.py | 6 | ||||
-rw-r--r-- | poezio/windows/bookmark_forms.py | 4 | ||||
-rw-r--r-- | poezio/windows/data_forms.py | 2 | ||||
-rw-r--r-- | poezio/windows/info_bar.py | 4 | ||||
-rw-r--r-- | poezio/windows/info_wins.py | 6 | ||||
-rw-r--r-- | poezio/windows/input_placeholders.py | 2 | ||||
-rw-r--r-- | poezio/windows/inputs.py | 10 | ||||
-rw-r--r-- | poezio/windows/list.py | 2 | ||||
-rw-r--r-- | poezio/windows/misc.py | 2 | ||||
-rw-r--r-- | poezio/windows/muc.py | 6 | ||||
-rw-r--r-- | poezio/windows/roster_win.py | 10 | ||||
-rw-r--r-- | poezio/windows/text_win.py | 6 |
12 files changed, 30 insertions, 30 deletions
diff --git a/poezio/windows/base_wins.py b/poezio/windows/base_wins.py index 1a578350..613e2e3d 100644 --- a/poezio/windows/base_wins.py +++ b/poezio/windows/base_wins.py @@ -14,9 +14,9 @@ import collections import curses import string -import core -import singleton -from theming import to_curses_attr, read_tuple +from .. import core +from .. import singleton +from .. theming import to_curses_attr, read_tuple FORMAT_CHAR = '\x19' # These are non-printable chars, so they should never appear in the input, diff --git a/poezio/windows/bookmark_forms.py b/poezio/windows/bookmark_forms.py index de1043c9..f7d72f78 100644 --- a/poezio/windows/bookmark_forms.py +++ b/poezio/windows/bookmark_forms.py @@ -6,8 +6,8 @@ import curses from . import Win from . inputs import Input from . data_forms import FieldInput -from theming import to_curses_attr, get_theme -from common import safeJID +from .. theming import to_curses_attr, get_theme +from .. common import safeJID class BookmarkJIDInput(FieldInput, Input): def __init__(self, field): diff --git a/poezio/windows/data_forms.py b/poezio/windows/data_forms.py index 410648ec..c02296e5 100644 --- a/poezio/windows/data_forms.py +++ b/poezio/windows/data_forms.py @@ -9,7 +9,7 @@ others when needed. from . import Win from . inputs import Input -from theming import to_curses_attr, get_theme +from .. theming import to_curses_attr, get_theme class FieldInput(object): """ diff --git a/poezio/windows/info_bar.py b/poezio/windows/info_bar.py index 4790a76f..be9f1f0c 100644 --- a/poezio/windows/info_bar.py +++ b/poezio/windows/info_bar.py @@ -11,9 +11,9 @@ log = logging.getLogger(__name__) import curses -from config import config +from .. config import config from . import Win -from theming import get_theme, to_curses_attr +from .. theming import get_theme, to_curses_attr class GlobalInfoBar(Win): def __init__(self, core): diff --git a/poezio/windows/info_wins.py b/poezio/windows/info_wins.py index f6aebd35..327f9b2b 100644 --- a/poezio/windows/info_wins.py +++ b/poezio/windows/info_wins.py @@ -6,12 +6,12 @@ info buffer in normal tabs import logging log = logging.getLogger(__name__) -from common import safeJID -from config import config +from .. common import safeJID +from .. config import config from . import Win from . funcs import truncate_nick -from theming import get_theme, to_curses_attr +from .. theming import get_theme, to_curses_attr class InfoWin(Win): """ diff --git a/poezio/windows/input_placeholders.py b/poezio/windows/input_placeholders.py index 496417d1..92be4ffa 100644 --- a/poezio/windows/input_placeholders.py +++ b/poezio/windows/input_placeholders.py @@ -8,7 +8,7 @@ log = logging.getLogger(__name__) from . import Win -from theming import get_theme, to_curses_attr +from .. theming import get_theme, to_curses_attr class HelpText(Win): diff --git a/poezio/windows/inputs.py b/poezio/windows/inputs.py index f204f1cb..c204b503 100644 --- a/poezio/windows/inputs.py +++ b/poezio/windows/inputs.py @@ -8,14 +8,14 @@ log = logging.getLogger(__name__) import curses import string -import keyboard -import common -import poopt +from .. import keyboard +from .. import common +from .. import poopt from . import Win from . base_wins import format_chars from . funcs import find_first_format_char -from config import config -from theming import to_curses_attr +from .. config import config +from .. theming import to_curses_attr class Input(Win): diff --git a/poezio/windows/list.py b/poezio/windows/list.py index 677df6ff..d4458b5b 100644 --- a/poezio/windows/list.py +++ b/poezio/windows/list.py @@ -8,7 +8,7 @@ log = logging.getLogger(__name__) import curses from . import Win -from theming import to_curses_attr, get_theme +from .. theming import to_curses_attr, get_theme class ListWin(Win): diff --git a/poezio/windows/misc.py b/poezio/windows/misc.py index 07c91bbd..bc77fefd 100644 --- a/poezio/windows/misc.py +++ b/poezio/windows/misc.py @@ -8,7 +8,7 @@ log = logging.getLogger(__name__) import curses from . import Win -from theming import get_theme, to_curses_attr +from .. theming import get_theme, to_curses_attr class VerticalSeparator(Win): """ diff --git a/poezio/windows/muc.py b/poezio/windows/muc.py index 84775787..4a0eb626 100644 --- a/poezio/windows/muc.py +++ b/poezio/windows/muc.py @@ -9,9 +9,9 @@ import curses from . import Win -import poopt -from config import config -from theming import to_curses_attr, get_theme +from .. import poopt +from .. config import config +from .. theming import to_curses_attr, get_theme def userlist_to_cache(userlist): result = [] diff --git a/poezio/windows/roster_win.py b/poezio/windows/roster_win.py index f024fae5..e1c92073 100644 --- a/poezio/windows/roster_win.py +++ b/poezio/windows/roster_win.py @@ -9,11 +9,11 @@ from datetime import datetime from . import Win -import common -from config import config -from contact import Contact, Resource -from roster import RosterGroup -from theming import get_theme, to_curses_attr +from .. import common +from .. config import config +from .. contact import Contact, Resource +from .. roster import RosterGroup +from .. theming import get_theme, to_curses_attr class RosterWin(Win): diff --git a/poezio/windows/text_win.py b/poezio/windows/text_win.py index 5c644c46..1aad172c 100644 --- a/poezio/windows/text_win.py +++ b/poezio/windows/text_win.py @@ -13,9 +13,9 @@ from . import Win from . base_wins import FORMAT_CHAR from . funcs import truncate_nick, parse_attrs -import poopt -from config import config -from theming import to_curses_attr, get_theme, dump_tuple +from .. import poopt +from .. config import config +from .. theming import to_curses_attr, get_theme, dump_tuple # msg is a reference to the corresponding Message object. text_start and |