aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/InfoBarGenerics.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-05-04 23:34:47 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-05-04 23:34:47 +0000
commit84702da5d3a6df33717b399b859008a3cf8a1522 (patch)
tree03495da465a37db044f69bee8a3f06945947b33d /lib/python/Screens/InfoBarGenerics.py
parentfd002c45932aa88271af9be88f2d585199ac5a1e (diff)
downloadenigma2-84702da5d3a6df33717b399b859008a3cf8a1522.tar.gz
enigma2-84702da5d3a6df33717b399b859008a3cf8a1522.zip
move/resize PiP window (requires new drivers) (and is not yet working properly)
Diffstat (limited to 'lib/python/Screens/InfoBarGenerics.py')
-rw-r--r--lib/python/Screens/InfoBarGenerics.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py
index c18c698f..7c335f1d 100644
--- a/lib/python/Screens/InfoBarGenerics.py
+++ b/lib/python/Screens/InfoBarGenerics.py
@@ -1005,6 +1005,8 @@ class InfoBarTimeshift:
self.timeshift_enabled = False
self.__seekableStatusChanged()
+from Screens.PiPSetup import PiPSetup
+
class InfoBarExtensions:
def __init__(self):
self.pipshown = False
@@ -1020,6 +1022,7 @@ class InfoBarExtensions:
list.append((_("Activate Picture in Picture"), "pipon"))
elif self.pipshown == True:
list.append((_("Disable Picture in Picture"), "pipoff"))
+ list.append((_("Move Picture in Picture"), "movepip"))
self.session.openWithCallback(self.extensionCallback, ChoiceBox, title=_("Please choose an extension..."), list = list)
def extensionCallback(self, answer):
@@ -1037,12 +1040,14 @@ class InfoBarExtensions:
else:
self.pipservice = None
del self.pip
-
+ self.session.nav.playService(newservice)
elif answer[1] == "pipoff":
#self.pip.hide()
self.pipservice = None
del self.pip
self.pipshown = False
+ elif answer[1] == "movepip":
+ self.session.open(PiPSetup, pip = self.pip)
from RecordTimer import parseEvent