change keys for activating/controlling PiP to color keys instead of number keys
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Thu, 12 Oct 2006 01:25:53 +0000 (01:25 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Thu, 12 Oct 2006 01:25:53 +0000 (01:25 +0000)
lib/python/Screens/InfoBarGenerics.py

index a2d1ec7..af8f0a9 100644 (file)
@@ -1154,11 +1154,10 @@ class InfoBarSubtitles:
 class InfoBarPiP:
        def __init__(self):
                self.session.pipshown = False
-               
-               self.addExtension((self.getShowHideName, self.showPiP, self.available), "1")
-               self.addExtension((self.getMoveName, self.movePiP, self.pipShown), "2")
-               self.addExtension((self.getSwapName, self.swapPiP, self.pipShown), "3")
 
+               self.addExtension((self.getShowHideName, self.showPiP, self.available), "red")
+               self.addExtension((self.getMoveName, self.movePiP, self.pipShown), "green")
+               self.addExtension((self.getSwapName, self.swapPiP, self.pipShown), "yellow")
        
        def available(self):
                return True