diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2012-01-21 23:13:11 +0000 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2012-01-21 23:13:11 +0000 |
commit | 35f0e9d37af17ab69f591e4bdbcfeb767bf75453 (patch) | |
tree | f07ac2fb3840d036da968e33bb95973326b8fc0f /alot/ui.py | |
parent | 53be4831e8a183c4f0fd56f73294acb509fda51c (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.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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() |