add invalidate to eListboxPythonStringContent
[enigma2.git] / lib / python / Screens / About.py
1 from Screen import Screen
2 from Components.ActionMap import ActionMap
3 from Components.Label import Label
4 from Components.Harddisk import Harddisk
5
6 class About(Screen):
7         def __init__(self, session):
8                 Screen.__init__(self, session)
9                 
10                 self["text"] = Label("Enigma v2.0b")
11
12                 self["tuner"] = Label("Detected NIMs:")
13                 self["tunerA"] = Label("   Tuner A: Alps BSBE1 (DVB-S)")
14                 self["tunerB"] = Label("   Tuner B: Alps BSBE1 (DVB-S)")
15
16                 self["hdd"] = Label("Detected HDD:")
17                 hdd = Harddisk(0)
18                 #self["hddA"] = Label("%s (%s, %d MB free)" % (hdd.model(), hdd.capacity(),hdd.free()))
19                 self["hddA"] = Label("Seagate 398 GByte (323 GByte free)")
20
21                 self["actions"] = ActionMap(["SetupActions"], 
22                         {
23                                 "cancel": self.close,
24                                 "ok": self.close,
25                         })
26