git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add rfmod
[enigma2.git]
/
lib
/
python
/
Screens
/
About.py
diff --git
a/lib/python/Screens/About.py
b/lib/python/Screens/About.py
index ae3ce394265b9cb858bd26b3a9ae892ddbeef068..36b908361797be22618ed2b504ae39622d377211 100644
(file)
--- a/
lib/python/Screens/About.py
+++ b/
lib/python/Screens/About.py
@@
-1,7
+1,7
@@
from Screen import Screen
from Components.ActionMap import ActionMap
from Components.Label import Label
from Screen import Screen
from Components.ActionMap import ActionMap
from Components.Label import Label
-
+from Components.Harddisk import Harddisk
class About(Screen):
def __init__(self, session):
class About(Screen):
def __init__(self, session):
@@
-14,7
+14,8
@@
class About(Screen):
self["tunerB"] = Label(" Tuner B: Fujitsu QST (DVB-S)")
self["hdd"] = Label("Detected HDD:")
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, %d MB free)" % (hdd.model(), hdd.capacity(),hdd.free()))
self["actions"] = ActionMap(["SetupActions"],
{
self["actions"] = ActionMap(["SetupActions"],
{