add 'weight' for menu entries (including plugins), so they can be sorted, patch by...
[enigma2.git] / lib / python / Plugins / Plugin.py
index b3886723e90e7c530a65b49113dc2cddaac91fa7..b01b9b8f5a879499881ea1dd5aa2aded9cdb0bb1 100644 (file)
@@ -22,7 +22,7 @@ class PluginDescriptor:
        WHERE_PLUGINMENU  = 2
        # argument: session, serviceref (currently selected)
        WHERE_MOVIELIST = 3
-       # argument: menuid. Fnc must return list with menuitems (3-tuple of name, fnc to call, entryid or None)
+       # argument: menuid. Fnc must return list with menuitems (4-tuple of name, fnc to call, entryid or None, weight or None)
        WHERE_MENU = 4
        
        # reason (0: start, 1: end)