summaryrefslogtreecommitdiff
path: root/alot/buffer.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/buffer.py')
-rw-r--r--alot/buffer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/buffer.py b/alot/buffer.py
index eb476530..e44db1bd 100644
--- a/alot/buffer.py
+++ b/alot/buffer.py
@@ -282,7 +282,7 @@ class TagListBuffer(Buffer):
displayedtags = filter(self.filtfun, self.tags)
for (num, b) in enumerate(displayedtags):
tw = widgets.TagWidget(b)
- lines.append(urwid.Columns([('fixed', tw.len(), tw)]))
+ lines.append(urwid.Columns([('fixed', tw.width(), tw)]))
self.taglist = urwid.ListBox(urwid.SimpleListWalker(lines))
self.body = self.taglist