diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-01-11 14:23:48 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-01-11 14:23:48 +0000 |
| commit | 061f02110eeeb6f8b44b2d3229a098c3c270f10c (patch) | |
| tree | 26709862f037f16eae3a4593b48322be9c83bd8c /lib/python/Plugins | |
| parent | cf47b44f867cafaba6fe0e7a1539bd3c11e9c7e9 (diff) | |
| download | enigma2-061f02110eeeb6f8b44b2d3229a098c3c270f10c.tar.gz enigma2-061f02110eeeb6f8b44b2d3229a098c3c270f10c.zip | |
add arabic to the language list
change plugin interface: plugins can now have screens or functions as objects to call when plugin is selected
plugins can have multiple plugin menu entries
Diffstat (limited to 'lib/python/Plugins')
| -rw-r--r-- | lib/python/Plugins/update/plugin.py | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/lib/python/Plugins/update/plugin.py b/lib/python/Plugins/update/plugin.py index 500b6825..79f67490 100644 --- a/lib/python/Plugins/update/plugin.py +++ b/lib/python/Plugins/update/plugin.py @@ -56,14 +56,11 @@ class Example(Screen): #def autoend(): #print "**************************** AUTOEND" -def main(session): - session.open(Example) - -def getPicturePath(): - return "update.png" +def getPicturePaths(): + return ["update.png"] -def getPluginName(): - return "Softwareupdate" +def getPlugins(): + return [("Softwareupdate", "screen", "Example")] def getMenuRegistrationList(): list = [] |
