summaryrefslogtreecommitdiff
path: root/alot/ui.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2012-01-21 23:13:11 +0000
committerPatrick Totzke <patricktotzke@gmail.com>2012-01-21 23:13:11 +0000
commit35f0e9d37af17ab69f591e4bdbcfeb767bf75453 (patch)
treef07ac2fb3840d036da968e33bb95973326b8fc0f /alot/ui.py
parent53be4831e8a183c4f0fd56f73294acb509fda51c (diff)
replace buffer.typename with class var 'modename'
this allows for easier mode name extraction at class level for auto-generating the user docs
Diffstat (limited to 'alot/ui.py')
-rw-r--r--alot/ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/ui.py b/alot/ui.py
index 8e1d7a1c..f7efbb4e 100644
--- a/alot/ui.py
+++ b/alot/ui.py
@@ -226,7 +226,7 @@ class UI(object):
if self.current_buffer != buf:
self.current_buffer = buf
self.inputwrap.set_root(self.mainframe)
- self.mode = buf.typename
+ self.mode = buf.modename
if isinstance(self.current_buffer, BufferlistBuffer):
self.current_buffer.rebuild()
self.update()