show hdd capacity in aboutbox
[enigma2.git] / lib / python / Screens / About.py
index ae3ce394265b9cb858bd26b3a9ae892ddbeef068..de9d69366dd17a9e95b376307e0fbc03a2777ac5 100644 (file)
@@ -1,6 +1,7 @@
 from Screen import Screen
 from Components.ActionMap import ActionMap
 from Components.Label import Label
+from Components.Harddisk import Harddisk
 
 
 class About(Screen):
@@ -14,7 +15,8 @@ class About(Screen):
                self["tunerB"] = Label("   Tuner B: Fujitsu QST (DVB-S)")
 
                self["hdd"] = Label("Detected HDD:")
-               self["hddA"] = Label("   not found")
+               hdd = Harddisk(0)
+               self["hddA"] = Label("%s (%s)" % (hdd.model(), hdd.capacity()))
 
                self["actions"] = ActionMap(["SetupActions"], 
                        {