diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2006-07-24 23:55:12 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2006-07-24 23:55:12 +0000 |
| commit | 911466bd5e018b80dfbbd5e12c4923e89a980792 (patch) | |
| tree | 738e80806095f84510ca7efab7845b1fac4d95cb /lib/python/Components/Converter/StringList.py | |
| parent | 7d7331ac43c18159a7ebeb652e0e7d971118a8f7 (diff) | |
| download | enigma2-911466bd5e018b80dfbbd5e12c4923e89a980792.tar.gz enigma2-911466bd5e018b80dfbbd5e12c4923e89a980792.zip | |
use single argument only
Diffstat (limited to 'lib/python/Components/Converter/StringList.py')
| -rw-r--r-- | lib/python/Components/Converter/StringList.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/python/Components/Converter/StringList.py b/lib/python/Components/Converter/StringList.py index 31dbcd3c..d5421976 100644 --- a/lib/python/Components/Converter/StringList.py +++ b/lib/python/Components/Converter/StringList.py @@ -4,8 +4,8 @@ from enigma import eListboxPythonStringContent 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): self.content = eListboxPythonStringContent() @@ -14,7 +14,7 @@ class StringList(Converter): self.downstream_elements.changed() 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: |
