aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/Sources
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2008-12-16 21:37:14 +0100
committerghost <andreas.monzner@multimedia-labs.de>2008-12-16 21:37:14 +0100
commit2aa2925cf52add4b737c17a7e75c88a4fcc7057c (patch)
treeded07671f60bffc771b12e458b7b684ba44bf308 /lib/python/Components/Sources
parent91e9098bb54966e20ed240d127a9c946065cd5ab (diff)
parentb10857da7a1853f816adcb2c0464e9c759190c26 (diff)
downloadenigma2-2aa2925cf52add4b737c17a7e75c88a4fcc7057c.tar.gz
enigma2-2aa2925cf52add4b737c17a7e75c88a4fcc7057c.zip
Merge branch 'master' of git.opendreambox.org:/git/enigma2
Diffstat (limited to 'lib/python/Components/Sources')
-rw-r--r--lib/python/Components/Sources/Progress.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/python/Components/Sources/Progress.py b/lib/python/Components/Sources/Progress.py
index b96065b3..d57a6179 100644
--- a/lib/python/Components/Sources/Progress.py
+++ b/lib/python/Components/Sources/Progress.py
@@ -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)