git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
enable color on thedoc's box (depends as usual on mac)
[enigma2.git]
/
lib
/
python
/
Screens
/
About.py
diff --git
a/lib/python/Screens/About.py
b/lib/python/Screens/About.py
index 6ed82934dd3e6529a9f56466e2b199a46bd802ae..36b908361797be22618ed2b504ae39622d377211 100644
(file)
--- a/
lib/python/Screens/About.py
+++ b/
lib/python/Screens/About.py
@@
-3,7
+3,6
@@
from Components.ActionMap import ActionMap
from Components.Label import Label
from Components.Harddisk import Harddisk
from Components.Label import Label
from Components.Harddisk import Harddisk
-
class About(Screen):
def __init__(self, session):
Screen.__init__(self, session)
class About(Screen):
def __init__(self, session):
Screen.__init__(self, session)
@@
-15,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(Harddisk(0).model())
+ 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"],
{