From 0ec02e54b4012e16e00a5dbe180568cb04552b52 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Wed, 13 Jan 2021 12:03:05 +0100 Subject: widgets/thread: rename _AltMixedPart->_MultiMixedWidget This is a more descriptive name. --- alot/widgets/thread.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'alot/widgets') 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 -- cgit v1.2.3