Mercurial > getan
changeset 222:24709f93bf5f
Remove obsolete ProjectList methods
Both methods were intended to redraw the node widgets in the list. This can be
done by urwids own methods (_invalidate)
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Fri, 05 Apr 2013 20:08:46 +0200 |
parents | c3df6d26fce6 |
children | aa7b1efb7689 |
files | getan/view.py |
diffstat | 1 files changed, 0 insertions(+), 14 deletions(-) [+] |
line wrap: on
line diff
--- a/getan/view.py Fri Apr 05 20:07:23 2013 +0200 +++ b/getan/view.py Fri Apr 05 20:08:46 2013 +0200 @@ -272,20 +272,6 @@ logger.debug("ProjectList: reset_footer to '%s'" % self._footer_info[0]) self.set_footer_text(*self._footer_info) - def update(self): - logger.debug("ProjectList: update focused project row now.") - if len(self.rows) > 0: - self.rows[self.focused].update() - self._total_time() - self.controller.loop.draw_screen() - - def update_all(self): - logger.debug("ProjectList: update all project rows now.") - for proj in self.rows: - proj.update() - self._total_time() - self.controller.loop.draw_screen() - def switch_time_mode(self): logger.debug("ProjectList: switch time mode now.") for proj in self.rows: