projects
/
vuplus_dvbapp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90d0461
)
add modifyEntry
author
Felix Domke
<tmbinc@elitedvb.net>
Tue, 10 Feb 2009 21:30:03 +0000
(22:30 +0100)
committer
Felix Domke
<tmbinc@elitedvb.net>
Tue, 10 Feb 2009 21:30:03 +0000
(22:30 +0100)
lib/python/Components/Sources/List.py
patch
|
blob
|
history
diff --git
a/lib/python/Components/Sources/List.py
b/lib/python/Components/Sources/List.py
index
26c68ab
..
23b5395
100644
(file)
--- a/
lib/python/Components/Sources/List.py
+++ b/
lib/python/Components/Sources/List.py
@@
-28,7
+28,11
@@
to generate HTML."""
def entry_changed(self, index):
if not self.disable_callbacks:
self.downstream_elements.entry_changed(self, index)
-
+
+ def modifyEntry(self, index, data):
+ self.__list[index] = data
+ self.entry_changed(index)
+
def count(self):
return len(self.__list)