summaryrefslogtreecommitdiff
path: root/alot/widgets
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-01-13 12:03:05 +0100
committerAnton Khirnov <anton@khirnov.net>2021-01-13 12:03:05 +0100
commit0ec02e54b4012e16e00a5dbe180568cb04552b52 (patch)
tree174a919aa0ff123312e9f3d977884fb0afa1369f /alot/widgets
parent81b31e2ad3944961521e26bfcfaba020392150c6 (diff)
widgets/thread: rename _AltMixedPart->_MultiMixedWidget
This is a more descriptive name.
Diffstat (limited to 'alot/widgets')
-rw-r--r--alot/widgets/thread.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/widgets/thread.py b/alot/widgets/thread.py
index fe78cb01..a165ee45 100644
--- a/alot/widgets/thread.py
+++ b/alot/widgets/thread.py
@@ -131,7 +131,7 @@ class _CryptPartWidget(_MIMEPartWidget):
super().__init__(body_wgt, children)
-class _AltMixedPart(_MIMEPartWidget):
+class _MultiMixedWidget(_MIMEPartWidget):
def __init__(self, children):
super().__init__(urwid.Pile(children), children)
@@ -325,7 +325,7 @@ def _handle_mixed(mime_tree, alternative_pref):
children.append(ch)
if len(children) > 0:
- return _AltMixedPart(children)
+ return _MultiMixedWidget(children)
def _handle_alternative(mime_tree, alternative_pref):
# TODO: switching between alternatives