projects
/
matthijs
/
upstream
/
mobilegtd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
2f60463
)
Make ListView.change_entry always call its super.
author
Matthijs Kooijman
<matthijs@stdin.nl>
Mon, 17 Aug 2009 22:07:51 +0000
(
00:07
+0200)
committer
Matthijs Kooijman
<matthijs@stdin.nl>
Mon, 17 Aug 2009 22:07:51 +0000
(
00:07
+0200)
This makes it work in multiple inheritance situations. Also document the
method.
src/gui/gui.py
patch
|
blob
|
history
diff --git
a/src/gui/gui.py
b/src/gui/gui.py
index a8f217164e1d3b399dc6e63a683be89e814d2e0e..30ae4e2745bd6290ac47487bfdffca6d57c748f9 100644
(file)
--- a/
src/gui/gui.py
+++ b/
src/gui/gui.py
@@
-152,7
+152,11
@@
class ListView(View):
self.set_view(appuifw.Listbox(self.items(),self.change_entry))
def change_entry(self):
- pass
+ """
+ This function is called when the user selects an an entry (e.g.,
+ navigates to it and push the ok button).
+ """
+ super(ListView).change_entry()
def update(self,subject=None):
#logger.log(u'Updated %s'%repr(self))