revert non working "goto standby" after timerevent code (needs some work in
[enigma2.git] / lib / python / Screens / TimerEntry.py
index 2bf5bd18617dbe17e88b53fe8e32819b5381f3a4..1c83bdb6d3adf4ffd16d11e4b6b9d483d6589634 100644 (file)
@@ -214,7 +214,7 @@ class TimerEntry(Screen, ConfigListScreen):
        def finishedChannelSelection(self, *args):
                if len(args):
                        self.timer.service_ref = ServiceReference(args[0])
-                       self.timerentry_service.vals = (str(self.timer.service_ref.getServiceName()),)
+                       self.timerentry_service.setCurrentText(self.timer.service_ref.getServiceName())
                        self["config"].invalidate(self.channelEntry)
 
        def getTimestamp(self, date, mytime):
@@ -337,7 +337,7 @@ class TimerLog(Screen):
        def fillLogList(self):
                self.list = [ ]
                for x in self.log_entries:
-                       self.list.append((str(time.strftime("%Y-%m-%d %H-%M", localtime(x[0])) + " - " + x[2]), x))
+                       self.list.append((str(time.strftime("%Y-%m-%d %H-%M", time.localtime(x[0])) + " - " + x[2]), x))
        
        def clearLog(self):             
                self.log_entries = []