add rfmod include
[enigma2.git] / lib / python / Components / config.py
index e8376385a691d5d5a16b8f5aa29599b50f3cf6ec..8cd787128d084b3e37b7e252329ff9446eb6d633 100644 (file)
@@ -115,7 +115,6 @@ class configSequence:
                self.parent.change()    
 
        def __call__(self):                     #needed by configlist
-               print "__CALL__"
                value = ""
                mPos = self.markedPos
                print mPos
@@ -127,8 +126,7 @@ class configSequence:
                                
                        diff =  self.parent.vals[1] - len(str(i))
                        if diff > 0:
-                               #how about alignment?
-                               value += "           "[0:diff]          #how is this done correct?
+                               value += " " * diff
                        value +=        str(i)
                
                value = value[0:mPos] + "_" + value[mPos + 1:]
@@ -233,6 +231,7 @@ class configElement:
                self.controlType = control
                self.vals = vals
                self.notifierList = [ ]
+               self.enabled = True
                self.loadData()         
        def addNotifier(self, notifier):
                self.notifierList.append(notifier);