git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
now link dvb-s frontends to dvb-s2 frontends is possible
[enigma2.git]
/
lib
/
python
/
Components
/
VolumeBar.py
diff --git
a/lib/python/Components/VolumeBar.py
b/lib/python/Components/VolumeBar.py
index 6eace42c3f7ea9ceeb98a13f8b119ff1806c062f..1ada3c69f35c0d0f27ec8a2300b65ad4840b8af0 100644
(file)
--- a/
lib/python/Components/VolumeBar.py
+++ b/
lib/python/Components/VolumeBar.py
@@
-1,15
+1,15
@@
-from HTMLComponent import
*
-from GUIComponent import
*
-from VariableValue import
*
+from HTMLComponent import
HTMLComponent
+from GUIComponent import
GUIComponent
+from VariableValue import
VariableValue
-class VolumeBar(HTMLComponent, GUIComponent, VariableValue):
-
+from enigma import eSlider
+
+class VolumeBar(VariableValue, HTMLComponent, GUIComponent):
def __init__(self):
def __init__(self):
- GUIComponent.__init__(self)
VariableValue.__init__(self)
VariableValue.__init__(self)
+ GUIComponent.__init__(self)
+
+ GUI_WIDGET = eSlider
- def createWidget(self, parent, skindata):
- g = eSlider(parent)
- g.setRange(0, 100)
- return g
-
+ def postWidgetCreate(self, instance):
+ instance.setRange(0, 100)