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/PluginBrowser.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/PluginBrowser.py')
| -rw-r--r-- | lib/python/Screens/PluginBrowser.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/python/Screens/PluginBrowser.py b/lib/python/Screens/PluginBrowser.py index 3ffdbaf9..520d6d7a 100644 --- a/lib/python/Screens/PluginBrowser.py +++ b/lib/python/Screens/PluginBrowser.py @@ -74,8 +74,8 @@ class PluginDownloadBrowser(Screen): self.type = type self.container = eConsoleAppContainer() - 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) self.onShown.append(self.setWindowTitle) @@ -141,8 +141,8 @@ class PluginDownloadBrowser(Screen): def installFinished(self): plugins.readPluginList(resolveFilename(SCOPE_PLUGINS)) - 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) self.close() def runFinished(self, retval): |
