add Screens/Volume.py
[enigma2.git] / lib / python / Screens / InfoBar.py
index b837c53..9702eed 100644 (file)
@@ -120,15 +120,17 @@ class InfoBar(Screen):
        def     volUp(self):
                eDVBVolumecontrol.getInstance().volumeUp()
                self.volumeDialog.instance.show()
        def     volUp(self):
                eDVBVolumecontrol.getInstance().volumeUp()
                self.volumeDialog.instance.show()
-               #self.volumeDialog.instance.setValue(eDVBVolumecontrol.getInstance().getVolume())
+               # FIXME: help wanted :)
+               self.volumeDialog.instance.setValue(eDVBVolumecontrol.getInstance().getVolume())
                self.hideVolTimer = eTimer()
                self.hideVolTimer.timeout.get().append(self.volHide)
                self.hideVolTimer.start(3000)
 
        def     volDown(self):
                eDVBVolumecontrol.getInstance().volumeDown()
                self.hideVolTimer = eTimer()
                self.hideVolTimer.timeout.get().append(self.volHide)
                self.hideVolTimer.start(3000)
 
        def     volDown(self):
                eDVBVolumecontrol.getInstance().volumeDown()
-               #self.volumeDialog.instance.volumeBar.setValue(eDVBVolumecontrol.getInstance().getVolume())
                self.volumeDialog.instance.show()
                self.volumeDialog.instance.show()
+               # FIXME: help wanted :)
+               self.volumeDialog.setValue(eDVBVolumecontrol.getInstance().getVolume())
                self.hideVolTimer = eTimer()
                self.hideVolTimer.timeout.get().append(self.volHide)
                self.hideVolTimer.start(3000)
                self.hideVolTimer = eTimer()
                self.hideVolTimer.timeout.get().append(self.volHide)
                self.hideVolTimer.start(3000)