aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2009-02-10 22:30:03 +0100
committerFelix Domke <tmbinc@elitedvb.net>2009-02-10 22:30:03 +0100
commit9190777bc7e49f2a5e451ee58f3085215f9cf74a (patch)
tree735803f98e28ff26b59a173e48248c8640537f87 /lib/python/Components
parent90d04613d81ad20728dea5ff9795569bc14df03c (diff)
downloadenigma2-9190777bc7e49f2a5e451ee58f3085215f9cf74a.tar.gz
enigma2-9190777bc7e49f2a5e451ee58f3085215f9cf74a.zip
add modifyEntry
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/Sources/List.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/python/Components/Sources/List.py b/lib/python/Components/Sources/List.py
index 26c68ab5..23b53957 100644
--- 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)