From: Stefan Pluecken Date: Fri, 2 Sep 2005 05:55:10 +0000 (+0000) Subject: show free hdd space in aboutbox X-Git-Tag: 2.6.0~5602 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/d0a28c9837f9ffac259d16db3703b2e74195ccad show free hdd space in aboutbox --- diff --git a/lib/python/Screens/About.py b/lib/python/Screens/About.py index de9d6936..f6b14138 100644 --- a/lib/python/Screens/About.py +++ b/lib/python/Screens/About.py @@ -16,7 +16,7 @@ class About(Screen): 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"], {