git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove debug
[enigma2.git]
/
lib
/
python
/
Components
/
VolumeBar.py
diff --git
a/lib/python/Components/VolumeBar.py
b/lib/python/Components/VolumeBar.py
index 09dde5e1a93dbfc4ea5bf4bd3bd180babf1c035a..c51bdb1913b2369ef5dff55c7be245a3293c1b4d 100644
(file)
--- a/
lib/python/Components/VolumeBar.py
+++ b/
lib/python/Components/VolumeBar.py
@@
-6,12
+6,12
@@
from VariableText import *
from enigma import eSlider
from enigma import eLabel
from enigma import eSlider
from enigma import eLabel
-class VolumeBar(
HTMLComponent, GUIComponent, VariableValue
):
+class VolumeBar(
VariableValue, HTMLComponent, GUIComponent
):
def __init__(self):
VariableValue.__init__(self)
GUIComponent.__init__(self)
def __init__(self):
VariableValue.__init__(self)
GUIComponent.__init__(self)
- def createWidget(self, parent):
- g = eSlider(parent)
- g.setRange(0, 100)
- return g
+ GUI_WIDGET = eSlider
+
+ def postWidgetCreate(self, instance):
+ instance.setRange(0, 100)