summaryrefslogtreecommitdiff
path: root/alot/ui.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/ui.py')
-rw-r--r--alot/ui.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/alot/ui.py b/alot/ui.py
index 3a840082..811f2150 100644
--- a/alot/ui.py
+++ b/alot/ui.py
@@ -242,7 +242,8 @@ class UI(object):
d.addErrback(errorHandler)
return d
- def _unhandeled_input(self, key):
+ @staticmethod
+ def _unhandeled_input(key):
"""
Called by :class:`urwid.MainLoop` if a keypress was passed to the root
widget by `self._input_filter` but is not handled in any widget. We
@@ -329,7 +330,8 @@ class UI(object):
self._passall = True
return d # return deferred
- def exit(self):
+ @staticmethod
+ def exit():
"""
shuts down user interface without cleaning up.
Use a :class:`alot.commands.globals.ExitCommand` for a clean shutdown.