Merge branch 'master' of git://gitorious.org/mobilegtd/mobilegtd
[matthijs/upstream/mobilegtd.git] / src / gui / project_details / infos_widget.py
1 from model.info import Info
2 import project_view
3
4 class InfosWidget:
5     def __init__(self,project):
6         self.project = project
7     def change(self):
8         info = project_view.ask_for_info(self.project.name)
9         if info:
10             self.project.add_info(Info(info),0)
11             self.project.dirty=True
12     def list_repr(self):
13         return u'Infos'