summaryrefslogtreecommitdiff
path: root/qutebrowser/misc/backendproblem.py
diff options
context:
space:
mode:
Diffstat (limited to 'qutebrowser/misc/backendproblem.py')
-rw-r--r--qutebrowser/misc/backendproblem.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/qutebrowser/misc/backendproblem.py b/qutebrowser/misc/backendproblem.py
index 5c8e1002d..6e2bd1866 100644
--- a/qutebrowser/misc/backendproblem.py
+++ b/qutebrowser/misc/backendproblem.py
@@ -57,7 +57,7 @@ class _Button:
text = attr.ib() # type: str
setting = attr.ib() # type: str
- value = attr.ib() # type: str
+ value = attr.ib() # type: typing.Any
default = attr.ib(default=False) # type: bool
@@ -255,7 +255,7 @@ class _BackendProblemChecker:
raise utils.Unreachable
- def _xwayland_options(self) -> typing.Tuple[typing.List[_Button], str]:
+ def _xwayland_options(self) -> typing.Tuple[str, typing.List[_Button]]:
"""Get buttons/text for a possible XWayland solution."""
buttons = []
text = "<p>You can work around this in one of the following ways:</p>"