fixes bug #381
[enigma2.git] / lib / python / Screens / Volume.py
1 from Screen import Screen
2 from Components.VolumeBar import VolumeBar
3                 
4 class Volume(Screen):
5         def __init__(self, session):
6                 Screen.__init__(self, session)
7                 
8                 self.volumeBar = VolumeBar()
9                 
10                 self["Volume"] = self.volumeBar
11                 
12         def setValue(self, vol):
13                 print "setValue", vol
14                 self.volumeBar.setValue(vol)