aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorRonny Strutz <ronny.strutz@multimedia-labs.de>2005-08-30 12:31:36 +0000
committerRonny Strutz <ronny.strutz@multimedia-labs.de>2005-08-30 12:31:36 +0000
commit0553c86de8408e265af9599cbc7c0e079b82364d (patch)
tree350fc292ce075b0e6f8df6fe28e0e95b01abf808 /lib/python
parent1e830c12e59df00acb76af47a37e13fba4e1ae0b (diff)
downloadenigma2-0553c86de8408e265af9599cbc7c0e079b82364d.tar.gz
enigma2-0553c86de8408e265af9599cbc7c0e079b82364d.zip
HarddiskSelection works now
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/HarddiskSetup.py21
1 files changed, 15 insertions, 6 deletions
diff --git a/lib/python/Screens/HarddiskSetup.py b/lib/python/Screens/HarddiskSetup.py
index 3fea87a8..45ce9543 100644
--- a/lib/python/Screens/HarddiskSetup.py
+++ b/lib/python/Screens/HarddiskSetup.py
@@ -1,11 +1,20 @@
from Screen import Screen
from Components.ActionMap import ActionMap
+from Components.Harddisk import harddiskmanager #global harddiskmanager
+from Components.MenuList import MenuList
class HarddiskSelection(Screen):
- def __init__(self, session):
- Screen.__init__(self, session)
+ def __init__(self, session):
+ Screen.__init__(self, session)
- self["actions"] = ActionMap(["OkCancelActions"],
- {
- "cancel": self.close
- })
+ self["hddlist"] = MenuList(harddiskmanager.HDDList())
+
+ self["actions"] = ActionMap(["OkCancelActions"],
+ {
+ "ok": self.okbuttonClick ,
+ "cancel": self.close
+ })
+
+ def okbuttonClick(self):
+ print "ok"
+ pass