diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2005-02-10 00:36:00 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2005-02-10 00:36:00 +0000 |
| commit | 4953676fb9df2347981b4f3ddb17a4d725197b31 (patch) | |
| tree | 234dbd5c8b4e78f8f01cd1863a107f3b24de73b2 | |
| parent | 54bd4123728628a6f77bad2584b70d1353a91666 (diff) | |
| download | enigma2-4953676fb9df2347981b4f3ddb17a4d725197b31.tar.gz enigma2-4953676fb9df2347981b4f3ddb17a4d725197b31.zip | |
- fixed lib/Makefile.am for "components" directory
- hopefully simplified components
| -rw-r--r-- | lib/Makefile.am | 2 | ||||
| -rw-r--r-- | mytest.py | 8 | ||||
| -rw-r--r-- | skin.py | 2 |
3 files changed, 6 insertions, 6 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am index a09b9bc1..72efc401 100644 --- a/lib/Makefile.am +++ b/lib/Makefile.am @@ -1 +1 @@ -SUBDIRS = base dvb dvb_si gdi network service driver nav gui python +SUBDIRS = base dvb dvb_si gdi network service driver nav gui python components @@ -101,16 +101,16 @@ class Session: def keyEvent(self, code): # print "code " + str(code) if code == 32: - self.currentDialog.data["okbutton"]["instance"].push() + self.currentDialog["okbutton"].instance.push() if code == 33: - self.currentDialog.data["channelSwitcher"]["instance"].push() + self.currentDialog["channelSwitcher"].instance.push() if code >= 0x30 and code <= 0x39: try: - self.currentDialog.data["menu"]["instance"].moveSelection(code - 0x31) + self.currentDialog["menu"].instance.moveSelection(code - 0x31) except: - self.currentDialog.data["list"]["instance"].moveSelection(code - 0x31) + self.currentDialog["list"].instance.moveSelection(code - 0x31) def close(self): self.delayTimer.start(0, 1) @@ -94,7 +94,7 @@ def applyGUIskin(screen, parent, skin, name): # get corresponding gui object try: - guiObject = screen.data[wname]["instance"] + guiObject = screen[wname].instance except: raise str("component with name '" + wname + "' was not found in skin of screen '" + name + "'!") |
