self.container.appClosed.get().append(self.runFinished)
self.container.dataAvail.get().append(self.dataAvail)
self.onLayoutFinish.append(self.startRun)
- self.onShown.append(self.setTitle)
+ self.onShown.append(self.setWindowTitle)
self.list = []
self["list"] = PluginList(self.list)
def runInstall(self, val):
if val:
if self.type == self.DOWNLOAD:
- self.session.openWithCallback(self.installFinished, Console, ["ipkg install " + "enigma2-plugin-" + self["list"].l.getCurrentSelection()[0].name])
+ self.session.openWithCallback(self.installFinished, Console, cmdlist = ["ipkg install " + "enigma2-plugin-" + self["list"].l.getCurrentSelection()[0].name])
elif self.type == self.REMOVE:
- self.session.openWithCallback(self.installFinished, Console, ["ipkg remove " + "enigma2-plugin-" + self["list"].l.getCurrentSelection()[0].name])
+ self.session.openWithCallback(self.installFinished, Console, cmdlist = ["ipkg remove " + "enigma2-plugin-" + self["list"].l.getCurrentSelection()[0].name])
- def setTitle(self):
+ def setWindowTitle(self):
if self.type == self.DOWNLOAD:
self.setTitle(_("Downloadable new plugins"))
elif self.type == self.REMOVE: