summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2017-11-12 13:55:38 +0100
committermathieui <mathieui@mathieui.net>2017-11-12 13:56:04 +0100
commit92496db823db34f7f7fb1ab31eaef093a707c3e8 (patch)
tree0ce15778536788e0903714cea1813b4fe4d6fad1
parent9ba50cb7ed7210600fb84172746fdb58dc3b2e1e (diff)
downloadpoezio-92496db823db34f7f7fb1ab31eaef093a707c3e8.tar.gz
poezio-92496db823db34f7f7fb1ab31eaef093a707c3e8.tar.bz2
poezio-92496db823db34f7f7fb1ab31eaef093a707c3e8.tar.xz
poezio-92496db823db34f7f7fb1ab31eaef093a707c3e8.zip
Fix the bookmarks management window
-rw-r--r--poezio/windows/bookmark_forms.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/poezio/windows/bookmark_forms.py b/poezio/windows/bookmark_forms.py
index 98a3889e..5fbc3858 100644
--- a/poezio/windows/bookmark_forms.py
+++ b/poezio/windows/bookmark_forms.py
@@ -6,7 +6,7 @@ import curses
from poezio.windows import base_wins
from poezio.windows.base_wins import Win
from poezio.windows.inputs import Input
-from poezio.windows.data_forms import FieldInput
+from poezio.windows.data_forms import FieldInput, FieldInputMixin
from poezio.theming import to_curses_attr, get_theme
from poezio.common import safeJID
@@ -29,7 +29,7 @@ class BookmarkJIDInput(FieldInput, Input):
def get_help_message(self):
return 'Edit the text'
-class BookmarkMethodInput(FieldInput, Win):
+class BookmarkMethodInput(FieldInputMixin):
def __init__(self, field):
FieldInput.__init__(self, field)
Win.__init__(self)
@@ -96,7 +96,7 @@ class BookmarkPasswordInput(FieldInput, Input):
def get_help_message(self):
return 'Edit the secret text'
-class BookmarkAutojoinWin(FieldInput, Win):
+class BookmarkAutojoinWin(FieldInputMixin):
def __init__(self, field):
FieldInput.__init__(self, field)
Win.__init__(self)