+ if self.type == self.DOWNLOAD:
+ self.session.openWithCallback(self.installFinished, Console, cmdlist = ["opkg install " + "enigma2-plugin-" + self["list"].l.getCurrentSelection()[0].name])
+ elif self.type == self.REMOVE:
+ self.session.openWithCallback(self.installFinished, Console, cmdlist = ["opkg remove " + "enigma2-plugin-" + self["list"].l.getCurrentSelection()[0].name])
+
+ def setWindowTitle(self):
+ if self.type == self.DOWNLOAD:
+ self.setTitle(_("Downloadable new plugins"))
+ elif self.type == self.REMOVE:
+ self.setTitle(_("Remove plugins"))
+
+ def startIpkgListInstalled(self):
+ self.container.execute("opkg list_installed enigma2-plugin-*")
+
+ def startIpkgListAvailable(self):
+ self.container.execute("opkg list enigma2-plugin-*")