diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2010-01-05 14:42:23 +0100 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2010-01-05 14:42:23 +0100 |
| commit | c92c4778f26f253b4a2869ffaf4c89cbf090e66d (patch) | |
| tree | 88e95e0438ac9ee4758857111dcd2e16c55946fe /lib/python/Screens/ChannelSelection.py | |
| parent | a415c30723058b3da1c7cbc1adf7c2205508915b (diff) | |
| parent | aa64f107516da5aaff79d6d096f8014f65ea3283 (diff) | |
| download | enigma2-c92c4778f26f253b4a2869ffaf4c89cbf090e66d.tar.gz enigma2-c92c4778f26f253b4a2869ffaf4c89cbf090e66d.zip | |
Merge branch 'master' of git.opendreambox.org:/git/enigma2
Diffstat (limited to 'lib/python/Screens/ChannelSelection.py')
| -rw-r--r-- | lib/python/Screens/ChannelSelection.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Screens/ChannelSelection.py b/lib/python/Screens/ChannelSelection.py index 36a54e77..5fbfd591 100644 --- a/lib/python/Screens/ChannelSelection.py +++ b/lib/python/Screens/ChannelSelection.py @@ -22,6 +22,7 @@ from Components.Input import Input profile("ChannelSelection.py 3") from Components.ParentalControl import parentalControl from Components.ChoiceList import ChoiceList, ChoiceEntryComponent +from Components.SystemInfo import SystemInfo from Screens.InputBox import InputBox, PinInput from Screens.MessageBox import MessageBox from Screens.ServiceInfo import ServiceInfo @@ -126,7 +127,7 @@ class ChannelContextMenu(Screen): append_when_current_valid(current, menu, (_("remove entry"), self.removeCurrentService), level = 0) if current_root and current_root.getPath().find("flags == %d" %(FLAG_SERVICE_NEW_FOUND)) != -1: append_when_current_valid(current, menu, (_("remove new found flag"), self.removeNewFoundFlag), level = 0) - if isPlayable: + if isPlayable and SystemInfo.get("NumVideoDecoders", 1) > 1: append_when_current_valid(current, menu, (_("Activate Picture in Picture"), self.showServiceInPiP), level = 0, key = "blue") self.pipAvailable = True else: |
