X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/323ac4a566f7c1ea9006eaf58eae915fac00071b..ddca4f01fa219240987d2b2ba15d04863ada879e:/lib/python/Plugins/SystemPlugins/SoftwareUpdate/plugin.py diff --git a/lib/python/Plugins/SystemPlugins/SoftwareUpdate/plugin.py b/lib/python/Plugins/SystemPlugins/SoftwareUpdate/plugin.py index 00f8e185..c0649b13 100644 --- a/lib/python/Plugins/SystemPlugins/SoftwareUpdate/plugin.py +++ b/lib/python/Plugins/SystemPlugins/SoftwareUpdate/plugin.py @@ -59,7 +59,7 @@ class UpdatePluginMenu(Screen): self.session.open(MessageBox, _("Function not yet implemented"), MessageBox.TYPE_ERROR) def runUpgrade(self, result): if result: - self.session.open(Console, ["ipkg update", "ipkg upgrade -force-defaults -force-overwrite"]) + self.session.open(Console, title = "Upgrade running...", cmdlist = ["ipkg update", "ipkg upgrade -force-defaults -force-overwrite"]) class IPKGSource(Screen): skin = """ @@ -219,8 +219,8 @@ class Ipkg(Screen): else: self.close() -def UpgradeMain(session): +def UpgradeMain(session, **kwargs): session.open(UpdatePluginMenu) -def Plugins(): +def Plugins(**kwargs): return PluginDescriptor(name="Softwareupdate", description="Updates your receiver's software", icon="update.png", where = PluginDescriptor.WHERE_PLUGINMENU, fnc=UpgradeMain)