summaryrefslogtreecommitdiff
path: root/poezio/tabs
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2016-08-19 01:04:43 +0200
committermathieui <mathieui@mathieui.net>2016-08-19 01:04:43 +0200
commit0c21af12b0578a0147f7b686954e7e121f959990 (patch)
tree1949fecf97018d073395ff39d83caba745691a15 /poezio/tabs
parent82d00d495b816c237cbefac3ff2387907a7f8843 (diff)
downloadpoezio-0c21af12b0578a0147f7b686954e7e121f959990.tar.gz
poezio-0c21af12b0578a0147f7b686954e7e121f959990.tar.bz2
poezio-0c21af12b0578a0147f7b686954e7e121f959990.tar.xz
poezio-0c21af12b0578a0147f7b686954e7e121f959990.zip
Use the confirmtab for TLS cert validation
And wipe the YesNoInput from the codebase
Diffstat (limited to 'poezio/tabs')
-rw-r--r--poezio/tabs/rostertab.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/poezio/tabs/rostertab.py b/poezio/tabs/rostertab.py
index b9b0c228..f8b3e906 100644
--- a/poezio/tabs/rostertab.py
+++ b/poezio/tabs/rostertab.py
@@ -1018,8 +1018,6 @@ class RosterInfoTab(Tab):
"""
'/' is pressed, we enter "input mode"
"""
- if isinstance(self.input, windows.YesNoInput):
- return
curses.curs_set(1)
self.input = windows.CommandInput("", self.reset_help_message, self.execute_slash_command)
self.input.resize(1, self.width, self.height-1, 0)
@@ -1195,8 +1193,6 @@ class RosterInfoTab(Tab):
Start the search. The input should appear with a short instruction
in it.
"""
- if isinstance(self.input, windows.YesNoInput):
- return
curses.curs_set(1)
self.input = windows.CommandInput("[Search]", self.on_search_terminate, self.on_search_terminate, self.set_roster_filter)
self.input.resize(1, self.width, self.height-1, 0)
@@ -1207,8 +1203,6 @@ class RosterInfoTab(Tab):
@refresh_wrapper.always
def start_search_slow(self):
- if isinstance(self.input, windows.YesNoInput):
- return
curses.curs_set(1)
self.input = windows.CommandInput("[Search]", self.on_search_terminate, self.on_search_terminate, self.set_roster_filter_slow)
self.input.resize(1, self.width, self.height-1, 0)