comparison getan/states.py @ 249:09051bd266b1

Use better kwarg when setting footer text to edit mode
author Björn Ricks <bjoern.ricks@intevation.de>
date Tue, 09 Apr 2013 22:20:01 +0200
parents 0219b1d63c6c
children 4d93bca23d89
comparison
equal deleted inserted replaced
248:0219b1d63c6c 249:09051bd266b1
662 'choose_proj': _(" Choose a project.") 662 'choose_proj': _(" Choose a project.")
663 } 663 }
664 664
665 def __init__(self, controller, view, key): 665 def __init__(self, controller, view, key):
666 controller.view.set_footer_text(self.msg('proj_description'), 666 controller.view.set_footer_text(self.msg('proj_description'),
667 'question', 1) 667 'question', edit=True)
668 super(AddProjectDescriptionState, self).__init__(controller, view) 668 super(AddProjectDescriptionState, self).__init__(controller, view)
669 self.view.frame.set_focus('footer') 669 self.view.frame.set_focus('footer')
670 self.key = key 670 self.key = key
671 671
672 def enter(self): 672 def enter(self):
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)