summaryrefslogtreecommitdiff
path: root/qutebrowser/keyinput/modeparsers.py
diff options
context:
space:
mode:
authorFlorian Bruhin <git@the-compiler.org>2018-02-27 10:55:16 +0100
committerFlorian Bruhin <git@the-compiler.org>2018-02-27 13:02:32 +0100
commitec3ad8a9698f6c936a0f63281ea34ae16101f03e (patch)
treec93dc6bf74c095280200f867a709642fda257180 /qutebrowser/keyinput/modeparsers.py
parentba012c6ba894e2916ff1cfc5ba756f3f6da445da (diff)
downloadqutebrowser-ec3ad8a9698f6c936a0f63281ea34ae16101f03e.tar.gz
qutebrowser-ec3ad8a9698f6c936a0f63281ea34ae16101f03e.zip
Get rid of _warn_on_keychains and _supports_chains
Diffstat (limited to 'qutebrowser/keyinput/modeparsers.py')
-rw-r--r--qutebrowser/keyinput/modeparsers.py15
1 files changed, 5 insertions, 10 deletions
diff --git a/qutebrowser/keyinput/modeparsers.py b/qutebrowser/keyinput/modeparsers.py
index 89f8f5ddb..9c44e4818 100644
--- a/qutebrowser/keyinput/modeparsers.py
+++ b/qutebrowser/keyinput/modeparsers.py
@@ -48,8 +48,7 @@ class NormalKeyParser(keyparser.CommandKeyParser):
"""
def __init__(self, win_id, parent=None):
- super().__init__(win_id, parent, supports_count=True,
- supports_chains=True)
+ super().__init__(win_id, parent, supports_count=True)
self._read_config('normal')
self._partial_timer = usertypes.Timer(self, 'partial-match')
self._partial_timer.setSingleShot(True)
@@ -131,8 +130,7 @@ class PromptKeyParser(keyparser.CommandKeyParser):
"""KeyParser for yes/no prompts."""
def __init__(self, win_id, parent=None):
- super().__init__(win_id, parent, supports_count=False,
- supports_chains=True)
+ super().__init__(win_id, parent, supports_count=False)
self._read_config('yesno')
def __repr__(self):
@@ -149,8 +147,7 @@ class HintKeyParser(keyparser.CommandKeyParser):
"""
def __init__(self, win_id, parent=None):
- super().__init__(win_id, parent, supports_count=False,
- supports_chains=True)
+ super().__init__(win_id, parent, supports_count=False)
self._filtertext = ''
self._last_press = LastPress.none
self._read_config('hint')
@@ -261,8 +258,7 @@ class CaretKeyParser(keyparser.CommandKeyParser):
passthrough = True
def __init__(self, win_id, parent=None):
- super().__init__(win_id, parent, supports_count=True,
- supports_chains=True)
+ super().__init__(win_id, parent, supports_count=True)
self._read_config('caret')
@@ -276,8 +272,7 @@ class RegisterKeyParser(keyparser.CommandKeyParser):
"""
def __init__(self, win_id, mode, parent=None):
- super().__init__(win_id, parent, supports_count=False,
- supports_chains=False)
+ super().__init__(win_id, parent, supports_count=False)
self._mode = mode
self._read_config('register')