Merge branch 'bug_271_ac3pcm_delay_servicemp3' into experimental
[enigma2.git] / lib / python / Components / Sources / Progress.py
index b96065b3d1bda98bcae8a25837640b35e22cc2cb..d57a617905dfe835ef4e401c2fa8345e23687e3b 100644 (file)
@@ -12,5 +12,12 @@ class Progress(Source):
        def setValue(self, value):
                self.__value = value
                self.changed((self.CHANGED_ALL,))
+               
+       def setRange(self, range = 100):
+               self.range = range
+               self.changed((self.CHANGED_ALL,))
+
+       def getRange(self):
+               return self.range
 
        value = property(getValue, setValue)