fix volume
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Thu, 10 Nov 2005 01:52:40 +0000 (01:52 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Thu, 10 Nov 2005 01:52:40 +0000 (01:52 +0000)
lib/python/Screens/InfoBar.py

index 9702eed..ef44ef3 100644 (file)
@@ -120,8 +120,7 @@ class InfoBar(Screen):
        def     volUp(self):
                eDVBVolumecontrol.getInstance().volumeUp()
                self.volumeDialog.instance.show()
        def     volUp(self):
                eDVBVolumecontrol.getInstance().volumeUp()
                self.volumeDialog.instance.show()
-               # FIXME: help wanted :)
-               self.volumeDialog.instance.setValue(eDVBVolumecontrol.getInstance().getVolume())
+               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)
@@ -129,7 +128,6 @@ class InfoBar(Screen):
        def     volDown(self):
                eDVBVolumecontrol.getInstance().volumeDown()
                self.volumeDialog.instance.show()
        def     volDown(self):
                eDVBVolumecontrol.getInstance().volumeDown()
                self.volumeDialog.instance.show()
-               # FIXME: help wanted :)
                self.volumeDialog.setValue(eDVBVolumecontrol.getInstance().getVolume())
                self.hideVolTimer = eTimer()
                self.hideVolTimer.timeout.get().append(self.volHide)
                self.volumeDialog.setValue(eDVBVolumecontrol.getInstance().getVolume())
                self.hideVolTimer = eTimer()
                self.hideVolTimer.timeout.get().append(self.volHide)