From 3bddcacaa62e8ae5e2873c1368f7236b491194c0 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Sun, 19 Feb 2006 22:10:26 +0000 Subject: [PATCH] re-add the IPKG plugin and rename the upgrade main function --- lib/python/Plugins/update/plugin.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/python/Plugins/update/plugin.py b/lib/python/Plugins/update/plugin.py index 070c199c..e472a38c 100644 --- a/lib/python/Plugins/update/plugin.py +++ b/lib/python/Plugins/update/plugin.py @@ -162,8 +162,12 @@ class Ipkg(Screen): else: self.close() -def main(session): +def UpgradeMain(session): session.open(Upgrade) +def IpkgMain(session): + session.open(Ipkg) + def Plugins(): - return PluginDescriptor(name="Softwareupdate", description="Updates your receiver's software", where = PluginDescriptor.WHERE_PLUGINMENU, fnc=main) + return [PluginDescriptor(name="Softwareupdate", description="Updates your receiver's software", where = PluginDescriptor.WHERE_PLUGINMENU, fnc=UpgradeMain), + PluginDescriptor(name="IPKG", description="(Beta-)Frontend for the packet management", where = PluginDescriptor.WHERE_PLUGINMENU, fnc=IpkgMain)] -- 2.30.2