ignore show requests when no instance available yet
[enigma2.git] / lib / python / Screens / ChannelSelection.py
index 60742c47f87d7c794333f2cbf64d6a0d993be752..c9a0eeede4eee70f0a6551b53a2a2dd4188fe86b 100644 (file)
@@ -14,7 +14,7 @@ from Components.Sources.Clock import Clock
 from Components.Sources.RdsDecoder import RdsDecoder
 from Components.Input import Input
 from Components.ParentalControl import parentalControl
-from Components.Pixmap import PixmapConditional
+from Components.Pixmap import Pixmap
 from Screens.InputBox import InputBox, PinInput
 from Screens.MessageBox import MessageBox
 from Screens.ServiceInfo import ServiceInfo
@@ -910,7 +910,9 @@ class ChannelSelectionBase(Screen):
                                self.enterPath(ref)
 
        def inBouquet(self):
-               return self.isBasePathEqual(self.bouquet_root)
+               if len(self.servicePath) > 0 and self.servicePath[0] == self.bouquet_root:
+                       return True
+               return False
 
        def atBegin(self):
                return self.servicelist.atBegin()
@@ -1268,7 +1270,7 @@ class RadioInfoBar(Screen, InfoBarEvent, InfoBarServiceName):
                InfoBarServiceName.__init__(self)
                self["CurrentTime"] = Clock()
                self["RdsDecoder"] = RdsDecoder(self.session.nav)
-               self["BlinkingPoint"] = PixmapConditional(False)
+               self["BlinkingPoint"] = Pixmap()
                self["BlinkingPoint"].hide()
 
 class ChannelSelectionRadio(ChannelSelectionBase, ChannelSelectionEdit, ChannelSelectionEPG):