diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-10-10 19:25:47 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-10-10 19:25:47 +0000 |
| commit | 07a97bd644ab0d2020ba40a531188da24adf2b85 (patch) | |
| tree | 7f9ef529a7f8793eff231bac249f101ab0ef76e0 /lib/python/Components | |
| parent | b8b753d3cc5f0fe5244a35a0b7e50be1b62e8d98 (diff) | |
| download | enigma2-07a97bd644ab0d2020ba40a531188da24adf2b85.tar.gz enigma2-07a97bd644ab0d2020ba40a531188da24adf2b85.zip | |
adding function getConfigListEntry for dynamic menus
Diffstat (limited to 'lib/python/Components')
| -rw-r--r-- | lib/python/Components/config.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py index 7f8f5072..5d098a37 100644 --- a/lib/python/Components/config.py +++ b/lib/python/Components/config.py @@ -334,3 +334,8 @@ class configElement: self.loadData() def save(self): configfile.setKey(self.configPath, self.datatoFile(self.controlType,self.value)) + +def getConfigListEntry(description, element): + b = element + item = b.controlType(b) + return ((description, item))
\ No newline at end of file |
