one empty line
[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.0a")
11
12                 self["tuner"] = Label("Detected NIMs:")
13                 self["tunerA"] = Label("   Tuner A: Fujitsu QST (DVB-S)")
14                 self["tunerB"] = Label("   Tuner B: Fujitsu QST (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
20                 self["actions"] = ActionMap(["SetupActions"], 
21                         {
22                                 "cancel": self.close,
23                                 "ok": self.close,
24                         })
25