replace "Arial" by "Regular"
[enigma2.git] / lib / python / Components / EpgList.py
index 5fa5476..6ab3f74 100644 (file)
@@ -9,9 +9,8 @@ class EPGList(HTMLComponent, GUIComponent):
                self.l = eListboxEPGContent()
 
        def getCurrent(self):
-               r = eServiceEventPtr()
-               self.l.getCurrent(r)
-               return r
+               evt = self.l.getCurrent()
+               return evt
 
        def moveUp(self):
                self.instance.moveSelection(self.instance.moveUp)
@@ -36,9 +35,9 @@ class EPGList(HTMLComponent, GUIComponent):
 #                      self.l.setVisualMode(eListboxServiceContent.visModeSimple)
 #              else:
 #                      self.instance.setItemHeight(40)
-#                      self.l.setElementFont(self.l.celServiceName, gFont("Arial", 30))
+#                      self.l.setElementFont(self.l.celServiceName, gFont("Regular", 30))
 #                      self.l.setElementPosition(self.l.celServiceName, eRect(40, 0, self.instance.size().width(), 40))
-#                      self.l.setElementFont(self.l.celServiceNumber, gFont("Arial", 20))
+#                      self.l.setElementFont(self.l.celServiceNumber, gFont("Regular", 20))
 #                      self.l.setElementPosition(self.l.celServiceNumber, eRect(0, 10, 40, 30))
 #
 #                      self.l.setVisualMode(eListboxServiceContent.visModeComplex)