add week days to epg list
[enigma2.git] / lib / python / Components / FIFOList.py
1 from Components.MenuList import MenuList
2
3 class FIFOList(MenuList):
4         def __init__(self, list = [ ], len = 10):
5                 self.len = len
6                 self.list = list
7                 MenuList.__init__(self, self.list)
8         
9         def addItem(self, item):
10                 self.list.append(item)
11                 self.list = self.list[-self.len:]
12                 self.l.setList(self.list)