git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
suspend timers when all renders are hidden
[enigma2.git]
/
lib
/
python
/
Components
/
Converter
/
StringList.py
diff --git
a/lib/python/Components/Converter/StringList.py
b/lib/python/Components/Converter/StringList.py
index 31dbcd3c9ae1b21cb54dfd4ec5fec7339b7593dd..ed2646519978415b1b14e02bdcd45f53ebe3781c 100644
(file)
--- a/
lib/python/Components/Converter/StringList.py
+++ b/
lib/python/Components/Converter/StringList.py
@@
-4,17
+4,17
@@
from enigma import eListboxPythonStringContent
class StringList(Converter):
"""Turns a simple python list into a list which can be used in a listbox."""
class StringList(Converter):
"""Turns a simple python list into a list which can be used in a listbox."""
- def __init__(self,
*args, **kwargs
):
- Converter.__init__(self)
+ def __init__(self,
type
):
+ Converter.__init__(self
, type
)
- def changed(self):
+ def changed(self
, what
):
self.content = eListboxPythonStringContent()
if self.source:
self.content.setList(self.source.list)
self.content = eListboxPythonStringContent()
if self.source:
self.content.setList(self.source.list)
- self.downstream_elements.changed()
+ self.downstream_elements.changed(
what
)
def selectionChanged(self, index):
def selectionChanged(self, index):
- self.
upstream_elements
.selectionChanged(index)
+ self.
source
.selectionChanged(index)
# update all non-master targets
for x in self.downstream_elements:
if x is not self.master:
# update all non-master targets
for x in self.downstream_elements:
if x is not self.master: