diff options
| author | ghost <andreas.monzner@multimedia-labs.de> | 2008-12-16 21:37:14 +0100 |
|---|---|---|
| committer | ghost <andreas.monzner@multimedia-labs.de> | 2008-12-16 21:37:14 +0100 |
| commit | 2aa2925cf52add4b737c17a7e75c88a4fcc7057c (patch) | |
| tree | ded07671f60bffc771b12e458b7b684ba44bf308 /lib/python/Components/Sources | |
| parent | 91e9098bb54966e20ed240d127a9c946065cd5ab (diff) | |
| parent | b10857da7a1853f816adcb2c0464e9c759190c26 (diff) | |
| download | enigma2-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.py | 7 |
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) |
