projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
check ConfigPIN default
[vuplus_dvbapp]
/
lib
/
python
/
Components
/
VolumeBar.py
diff --git
a/lib/python/Components/VolumeBar.py
b/lib/python/Components/VolumeBar.py
index
63771e2
..
c51bdb1
100644
(file)
--- a/
lib/python/Components/VolumeBar.py
+++ b/
lib/python/Components/VolumeBar.py
@@
-6,13
+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)