changes for new config
[enigma2.git] / lib / python / Plugins / Plugin.py
index 71b665b1db30434939549f352a0ec64a119add0a..3a79e396325d7feb4de640ff722468a6da83f3fd 100644 (file)
@@ -14,7 +14,7 @@ class PluginDescriptor:
        # you have to ignore unknown kwargs!
        
        # argument: session
-       WHERE_BLUEMENU = 0
+       WHERE_EXTENSIONSMENU = 0
        WHERE_MAINMENU = 1
        WHERE_PLUGINMENU  = 2
        # argument: session, serviceref (currently selected)
@@ -32,6 +32,9 @@ class PluginDescriptor:
        # delivered, and only on pre-loaded plugins
        WHERE_SESSIONSTART = 7
        
+       # start as teletext plugin. arguments: session, serviceref
+       WHERE_TELETEXT = 8
+       
        def __init__(self, name = "Plugin", where = [ ], description = "", icon = None, fnc = None):
                self.name = name
                if type(where) is list: