Mercurial > getan > getan
diff getan/controller.py @ 320:922935ebfdd5
Use the palette loaded from the config theme
author | Björn Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Fri, 11 Oct 2013 14:26:15 +0200 |
parents | 27fc5f43a69b |
children | 90c09cca49c3 |
line wrap: on
line diff
--- a/getan/controller.py Fri Oct 11 14:25:36 2013 +0200 +++ b/getan/controller.py Fri Oct 11 14:26:15 2013 +0200 @@ -40,8 +40,9 @@ self.state = PausedProjectsState(self, self.project_view) def main(self): + theme = self.config.get_theme() self.loop = urwid.MainLoop(self.view, - self.view.get_palette(), + theme.get_palette(), screen=urwid.raw_display.Screen(), input_filter=self.input_filter) self.loop.run()