aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-02-19 22:10:26 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-02-19 22:10:26 +0000
commit3bddcacaa62e8ae5e2873c1368f7236b491194c0 (patch)
tree928f0005b9c3f9a87379f707e30f88b0f5ba7fd7
parentaf574b481d63d4dea8cbef66680e597df5a27f1e (diff)
downloadenigma2-3bddcacaa62e8ae5e2873c1368f7236b491194c0.tar.gz
enigma2-3bddcacaa62e8ae5e2873c1368f7236b491194c0.zip
re-add the IPKG plugin and rename the upgrade main function
-rw-r--r--lib/python/Plugins/update/plugin.py8
1 files 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)]