X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/0877ce3b6f6cee972818a8c0a2d1bc862c8482be..7581b23a6bc4823981e973c2cfcc33fbed171122:/lib/python/Screens/InfoBar.py diff --git a/lib/python/Screens/InfoBar.py b/lib/python/Screens/InfoBar.py index 6f8dde1b..44484a51 100644 --- a/lib/python/Screens/InfoBar.py +++ b/lib/python/Screens/InfoBar.py @@ -6,6 +6,7 @@ from Components.ActionMap import ActionMap from Components.Button import Button from Components.ServiceName import ServiceName from Components.EventInfo import EventInfo +from Components.ServicePosition import ServicePosition from Screens.MessageBox import MessageBox from Screens.MovieSelection import MovieSelection @@ -43,7 +44,8 @@ class InfoBar(Screen): }) # self["okbutton"] = Button("mainMenu", [self.mainMenu]) - self["CurrentTime"] = Clock() + self["CurrentTime"] = ServicePosition(self.session.nav, ServicePosition.TYPE_REMAINING) + # Clock() self["Volume"] = self.volumeBar @@ -104,8 +106,8 @@ class InfoBar(Screen): quitMainloop() def instantRecord(self): - self.session.open(MessageBox, "this would be an instant recording! do you really know what you're doing?!") - return + #self.session.open(MessageBox, "this would be an instant recording! do you really know what you're doing?!") + #return if self.recording != None: print "remove entry"