diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-10-28 19:52:04 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-10-28 19:52:04 +0000 |
| commit | 1b01c9c3c05fdd42327406161bd5c51e05fbca19 (patch) | |
| tree | 8a6208b5d1f3001d4263a8634a122f8d1098ff6f /lib/python/Screens/Console.py | |
| parent | 1aa0603ed3b7ff359f2ebc46f6a97ad6ea009ae6 (diff) | |
| download | enigma2-1b01c9c3c05fdd42327406161bd5c51e05fbca19.tar.gz enigma2-1b01c9c3c05fdd42327406161bd5c51e05fbca19.zip | |
remove non working wrapper class to add a (unneeded) .get() call to
eConsoleAppContainers.. so now all external plugins must remove this .get()
calls...
example:
cont = eConsoleAppContainer()
cont.appClosed.append(cb_func) # old was
cont.appClosed.get().append(cb_func)
Diffstat (limited to 'lib/python/Screens/Console.py')
| -rw-r--r-- | lib/python/Screens/Console.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/python/Screens/Console.py b/lib/python/Screens/Console.py index 0ceba3ec..b57f2400 100644 --- a/lib/python/Screens/Console.py +++ b/lib/python/Screens/Console.py @@ -33,8 +33,8 @@ class Console(Screen): self.container = eConsoleAppContainer() self.run = 0 - self.container.appClosed.get().append(self.runFinished) - self.container.dataAvail.get().append(self.dataAvail) + self.container.appClosed.append(self.runFinished) + self.container.dataAvail.append(self.dataAvail) self.onLayoutFinish.append(self.startRun) # dont start before gui is finished def updateTitle(self): @@ -63,8 +63,8 @@ class Console(Screen): def cancel(self): if self.run == len(self.cmdlist): self.close() - self.container.appClosed.get().remove(self.runFinished) - self.container.dataAvail.get().remove(self.dataAvail) + self.container.appClosed.remove(self.runFinished) + self.container.dataAvail.remove(self.dataAvail) def dataAvail(self, str): self["text"].setText(self["text"].getText() + str) |
