make dm8000 blink pattern a bit nicer
[enigma2.git] / lib / python / Components / ConfigList.py
index 9a68d428a32b08f132597dad4167f5235813d0f1..00949e2fe49943ec38985ed151bddc467b26835b 100644 (file)
@@ -9,7 +9,7 @@ class ConfigList(HTMLComponent, GUIComponent, object):
        def __init__(self, list, session = None):
                GUIComponent.__init__(self)
                self.l = eListboxPythonConfigContent()
-               self.l.setSeperation(100)
+               self.l.setSeperation(200)
                self.timer = eTimer()
                self.list = list
                self.onSelectionChanged = [ ]
@@ -172,12 +172,15 @@ class ConfigListScreen:
        def keyNumberGlobal(self, number):
                self["config"].handleKey(KEY_0 + number)
                self.__changed()
+               
+       def saveAll(self):
+               for x in self["config"].list:
+                       x[1].save()
 
        # keySave and keyCancel are just provided in case you need them.
        # you have to call them by yourself.
        def keySave(self):
-               for x in self["config"].list:
-                       x[1].save()
+               self.saveAll()
                self.close()
        
        def cancelConfirm(self, result):