re-add (unused) blinking point in radio infobar to make e2 happy...
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 26 Mar 2007 15:21:19 +0000 (15:21 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Mon, 26 Mar 2007 15:21:19 +0000 (15:21 +0000)
data/skin_default.xml
lib/python/Screens/ChannelSelection.py

index 65e810d97e633b24b4340eaf0cf8fcde5bc1dc04..c89c350327962b65ac90ce5f5fee5a51c7028991 100644 (file)
                <widget source="CurrentService" render="Label" position="0,0" size="390,26" font="Regular;22" backgroundColor="dark" >
                        <convert type="ServiceName">Name</convert>
                </widget>
                <widget source="CurrentService" render="Label" position="0,0" size="390,26" font="Regular;22" backgroundColor="dark" >
                        <convert type="ServiceName">Name</convert>
                </widget>
+               <widget name="BlinkingPoint" pixmap="record.png" position="400,0" zPosition="2" size="58,25" />
                <widget source="CurrentTime" render="Label" position="465,0" size="95,28" font="Regular;22" backgroundColor="dark" >
                        <convert type="ClockToText">WithSeconds</convert>
                </widget>
                <widget source="CurrentTime" render="Label" position="465,0" size="95,28" font="Regular;22" backgroundColor="dark" >
                        <convert type="ClockToText">WithSeconds</convert>
                </widget>
index 7f9f797e618e04f3a7e8b7a85119c99c0bca6465..1ccddf75ed49702cf9e1ac7281c32479340e8a45 100644 (file)
@@ -14,6 +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.Sources.RdsDecoder import RdsDecoder
 from Components.Input import Input
 from Components.ParentalControl import parentalControl
+from Components.Pixmap import BlinkingPixmapConditional
 from Screens.InputBox import InputBox, PinInput
 from Screens.MessageBox import MessageBox
 from Screens.ServiceInfo import ServiceInfo
 from Screens.InputBox import InputBox, PinInput
 from Screens.MessageBox import MessageBox
 from Screens.ServiceInfo import ServiceInfo
@@ -1267,6 +1268,8 @@ class RadioInfoBar(Screen, InfoBarEvent, InfoBarServiceName):
                InfoBarServiceName.__init__(self)
                self["CurrentTime"] = Clock()
                self["RdsDecoder"] = RdsDecoder(self.session.nav)
                InfoBarServiceName.__init__(self)
                self["CurrentTime"] = Clock()
                self["RdsDecoder"] = RdsDecoder(self.session.nav)
+               self["BlinkingPoint"] = BlinkingPixmapConditional()
+               self["BlinkingPoint"].hide()
 
 class ChannelSelectionRadio(ChannelSelectionBase, ChannelSelectionEdit, ChannelSelectionEPG):
        ALLOW_SUSPEND = True
 
 class ChannelSelectionRadio(ChannelSelectionBase, ChannelSelectionEdit, ChannelSelectionEPG):
        ALLOW_SUSPEND = True