from Components.Label import Label
from Components.Harddisk import Harddisk
-
class About(Screen):
def __init__(self, session):
Screen.__init__(self, session)
self["hdd"] = Label("Detected HDD:")
hdd = Harddisk(0)
- self["hddA"] = Label("%s (%s)" % (hdd.model(), hdd.capacity()))
+ self["hddA"] = Label("%s (%s, %d MB free)" % (hdd.model(), hdd.capacity(),hdd.free()))
self["actions"] = ActionMap(["SetupActions"],
{