add config option 'Show blinking clock in display during recording'
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Thu, 15 Nov 2007 12:17:15 +0000 (12:17 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Thu, 15 Nov 2007 12:17:15 +0000 (12:17 +0000)
default is no

lib/python/Components/UsageConfig.py
lib/python/Screens/InfoBarGenerics.py

index 71b0b60c6dbfb296530f41a791313f03d64e403f..73538eafc41dc0961c8804f735370ac698f915d3 100644 (file)
@@ -46,6 +46,8 @@ def InitUsageConfig():
                ("4", "DVB-T/-C/-S"),
                ("5", "DVB-T/-S/-C") ])
 
                ("4", "DVB-T/-C/-S"),
                ("5", "DVB-T/-S/-C") ])
 
+       config.usage.blinking_display_clock_during_recording = ConfigYesNo(default = False)
+
        def TunerTypePriorityOrderChanged(configElement):
                setTunerTypePriorityOrder(int(configElement.value))
        config.usage.alternatives_priority.addNotifier(TunerTypePriorityOrderChanged)
        def TunerTypePriorityOrderChanged(configElement):
                setTunerTypePriorityOrder(int(configElement.value))
        config.usage.alternatives_priority.addNotifier(TunerTypePriorityOrderChanged)
index 806a7a0c0161a15d0c4138fe56422bc8e8aea267..fce6f857cd9288846c88897de455498c49c594ca 100644 (file)
@@ -1931,6 +1931,7 @@ class InfoBarSummary(Screen):
                        <convert type="ClockToText">WithSeconds</convert>
                </widget>
                <widget source="session.RecordState" render="FixedLabel" text=" " position="62,46" size="82,18" zPosition="1" >
                        <convert type="ClockToText">WithSeconds</convert>
                </widget>
                <widget source="session.RecordState" render="FixedLabel" text=" " position="62,46" size="82,18" zPosition="1" >
+                       <convert type="ConfigEntryTest">config.usage.blinking_display_clock_during_recording,True,CheckSourceBoolean</convert>
                        <convert type="ConditionalShowHide">Blink</convert>
                </widget>
                <widget source="session.CurrentService" render="Label" position="6,4" size="120,42" font="Regular;18" >
                        <convert type="ConditionalShowHide">Blink</convert>
                </widget>
                <widget source="session.CurrentService" render="Label" position="6,4" size="120,42" font="Regular;18" >
@@ -1963,6 +1964,7 @@ class InfoBarMoviePlayerSummary(Screen):
                        <convert type="ClockToText">WithSeconds</convert>
                </widget>
                <widget source="session.RecordState" render="FixedLabel" text=" " position="62,46" size="64,18" zPosition="1" >
                        <convert type="ClockToText">WithSeconds</convert>
                </widget>
                <widget source="session.RecordState" render="FixedLabel" text=" " position="62,46" size="64,18" zPosition="1" >
+                       <convert type="ConfigEntryTest">config.usage.blinking_display_clock_during_recording,True,CheckSourceBoolean</convert>
                        <convert type="ConditionalShowHide">Blink</convert>
                </widget>
                <widget source="session.CurrentService" render="Label" position="6,4" size="120,42" font="Regular;18" >
                        <convert type="ConditionalShowHide">Blink</convert>
                </widget>
                <widget source="session.CurrentService" render="Label" position="6,4" size="120,42" font="Regular;18" >