projects
/
matthijs
/
upstream
/
mobilegtd.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Fix ListView to make sense.
[matthijs/upstream/mobilegtd.git]
/
src
/
gui
/
project_details
/
info_widget.py
1
import project_view
2
3
4
class InfoWidget:
5
def __init__(self,info,project):
6
self.info = info
7
self.project = project
8
def remove(self):
9
self.project.remove_info(self.info)
10
def change(self):
11
new_info=project_view.ask_for_info(self.info.gui_string())
12
if new_info:
13
self.info.text = new_info
14
self.project.dirty=True
15
16
def list_repr(self):
17
return u' %s'%self.info