aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/ConfigList.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-11-13 11:20:09 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-11-13 11:20:09 +0000
commitebd311a360520b661c0853bfbef643620bbcfda7 (patch)
treed4d851dfb3f501fa8db316d47c19b2de273adc80 /lib/python/Components/ConfigList.py
parent31d233dcc551b3c18cf4025ddfdc080dbd408db9 (diff)
downloadenigma2-ebd311a360520b661c0853bfbef643620bbcfda7.tar.gz
enigma2-ebd311a360520b661c0853bfbef643620bbcfda7.zip
add possibility to invalidate configList entrys other than the current one
Diffstat (limited to 'lib/python/Components/ConfigList.py')
-rw-r--r--lib/python/Components/ConfigList.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/python/Components/ConfigList.py b/lib/python/Components/ConfigList.py
index e95f8c0e..7ed00014 100644
--- a/lib/python/Components/ConfigList.py
+++ b/lib/python/Components/ConfigList.py
@@ -27,7 +27,14 @@ class ConfigList(HTMLComponent, GUIComponent):
def invalidateCurrent(self):
self.l.invalidateEntry(self.l.getCurrentSelectionIndex())
-
+
+ def invalidate(self, entry):
+ i = 0
+ for x in self.list:
+ if (entry.getConfigPath() == x[1].parent.getConfigPath()):
+ self.l.invalidateEntry(i)
+ i += 1
+
def GUIcreate(self, parent):
self.instance = eListbox(parent)
self.instance.setContent(self.l)