aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/InfoBarGenerics.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-11-25 05:51:44 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2005-11-25 05:51:44 +0000
commite330dbae62e83dd2aa2ff63a984519a84b23c3ad (patch)
tree7138f778d7a7817f01413931ab29d88ca2f13c7e /lib/python/Screens/InfoBarGenerics.py
parent6f1188bea106d335f993729e4971770deac88619 (diff)
downloadenigma2-e330dbae62e83dd2aa2ff63a984519a84b23c3ad.tar.gz
enigma2-e330dbae62e83dd2aa2ff63a984519a84b23c3ad.zip
add a blinking point to the infobar
the blinking point appears when doing an instant record it is a hack up to now the point looks ugly, because the transparency needs to be explored first
Diffstat (limited to 'lib/python/Screens/InfoBarGenerics.py')
-rw-r--r--lib/python/Screens/InfoBarGenerics.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py
index 18ae1059..6c15c707 100644
--- a/lib/python/Screens/InfoBarGenerics.py
+++ b/lib/python/Screens/InfoBarGenerics.py
@@ -6,6 +6,7 @@ from Components.config import configfile, configsequencearg
from Components.config import config, configElement, ConfigSubsection, configSequence
from ChannelSelection import ChannelSelection
+from Components.BlinkingPoint import BlinkingPoint
from Components.ServiceName import ServiceName
from Components.EventInfo import EventInfo
@@ -386,15 +387,19 @@ class InfoBarInstantRecord:
"""Instant Record - handles the instantRecord action in order to
start/stop instant records"""
def __init__(self):
- self["InstnantRecordActions"] = HelpableActionMap(self, "InfobarInstantRecord",
+ self["InstantRecordActions"] = HelpableActionMap(self, "InfobarInstantRecord",
{
"instantRecord": (self.instantRecord, "Instant Record..."),
})
self.recording = None
+
+ self["BlinkingPoint"] = BlinkingPoint()
+ self.onShown.append(self["BlinkingPoint"].hidePoint)
def stopCurrentRecording(self):
self.session.nav.RecordTimer.removeEntry(self.recording)
self.recording = None
+ self["BlinkingPoint"].stopBlinking()
def startInstantRecording(self):
serviceref = self.session.nav.getCurrentlyPlayingServiceReference()
@@ -412,6 +417,8 @@ class InfoBarInstantRecord:
# fix me, description.
self.recording = self.session.nav.recordWithTimer(time.time(), time.time() + 3600, serviceref, epg, "instant record")
self.recording.dontSave = True
+
+ self["BlinkingPoint"].startBlinking()
def recordQuestionCallback(self, answer):
if answer == False: