aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/Sources
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2008-11-24 22:42:42 +0100
committerStefan <stefan@tuxboxls.(none)>2008-12-16 19:55:34 +0100
commit216dbbfd18a36835b8a48d2f2e1e1ce2c65c8f14 (patch)
treef7aa4cedf22ebb3a445f19c20b47133efdbac457 /lib/python/Components/Sources
parent67b8794397ca2ac4e05c59fc417456f4d4cac8f0 (diff)
downloadenigma2-216dbbfd18a36835b8a48d2f2e1e1ce2c65c8f14.tar.gz
enigma2-216dbbfd18a36835b8a48d2f2e1e1ce2c65c8f14.zip
catch up DiseqcTest development
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)