let display clock blinking when a recording is in progress
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Thu, 1 Nov 2007 23:50:49 +0000 (23:50 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Thu, 1 Nov 2007 23:50:49 +0000 (23:50 +0000)
lib/python/Screens/InfoBarGenerics.py
lib/python/Screens/Standby.py

index 06892a784882f967abb499e1c502f29696156250..f0a5267a4bc7cef1d7a8f8692d1cd3a2b47b1836 100644 (file)
@@ -1915,6 +1915,10 @@ class InfoBarSummary(Screen):
                <widget source="global.CurrentTime" render="Label" position="62,46" size="82,18" font="Regular;16" >
                        <convert type="ClockToText">WithSeconds</convert>
                </widget>
                <widget source="global.CurrentTime" render="Label" position="62,46" size="82,18" font="Regular;16" >
                        <convert type="ClockToText">WithSeconds</convert>
                </widget>
+               <widget source="session.GlobalInfo" render="FixedLabel" text=" " position="62,46" size="82,18" zPosition="1" >
+                       <convert type="Misc">RecordRunning</convert>
+                       <convert type="ConditionalShowHide">Blink</convert>
+               </widget>
                <widget source="session.CurrentService" render="Label" position="6,4" size="120,42" font="Regular;18" >
                        <convert type="ServiceName">Name</convert>
                </widget>
                <widget source="session.CurrentService" render="Label" position="6,4" size="120,42" font="Regular;18" >
                        <convert type="ServiceName">Name</convert>
                </widget>
@@ -1944,6 +1948,10 @@ class InfoBarMoviePlayerSummary(Screen):
                <widget source="global.CurrentTime" render="Label" position="62,46" size="64,18" font="Regular;16" halign="right" >
                        <convert type="ClockToText">WithSeconds</convert>
                </widget>
                <widget source="global.CurrentTime" render="Label" position="62,46" size="64,18" font="Regular;16" halign="right" >
                        <convert type="ClockToText">WithSeconds</convert>
                </widget>
+               <widget source="session.GlobalInfo" render="FixedLabel" text=" " position="62,46" size="64,18" zPosition="1" >
+                       <convert type="Misc">RecordRunning</convert>
+                       <convert type="ConditionalShowHide">Blink</convert>
+               </widget>
                <widget source="session.CurrentService" render="Label" position="6,4" size="120,42" font="Regular;18" >
                        <convert type="ServiceName">Name</convert>
                </widget>
                <widget source="session.CurrentService" render="Label" position="6,4" size="120,42" font="Regular;18" >
                        <convert type="ServiceName">Name</convert>
                </widget>
index 43c95dbd1b48886a13c4563a586812338f206a8c..86b7ca038f481f3de65721902c524023ac4b21ea 100644 (file)
@@ -75,6 +75,10 @@ class StandbySummary(Screen):
                <widget source="global.CurrentTime" render="Label" position="0,0" size="132,64" font="Regular;40" halign="center">
                        <convert type="ClockToText" />
                </widget>
                <widget source="global.CurrentTime" render="Label" position="0,0" size="132,64" font="Regular;40" halign="center">
                        <convert type="ClockToText" />
                </widget>
+               <widget source="session.GlobalInfo" render="FixedLabel" text=" " position="0,0" size="132,64" zPosition="1" >
+                       <convert type="Global">RecordRunning</convert>
+                       <convert type="ConditionalShowHide">Blink</convert>
+               </widget>
        </screen>"""
 
        def __init__(self, session, parent):
        </screen>"""
 
        def __init__(self, session, parent):