From 601d6f20152532574b5d60aed5ba862afa21ba1c Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Sun, 7 Oct 2007 10:41:47 +0000 Subject: add 'weight' for menu entries (including plugins), so they can be sorted, patch by Moritz Venn (006_enigma2_add_weight_support_to_menu.patch) --- lib/python/Plugins/Plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/python/Plugins/Plugin.py') diff --git a/lib/python/Plugins/Plugin.py b/lib/python/Plugins/Plugin.py index b3886723..b01b9b8f 100644 --- a/lib/python/Plugins/Plugin.py +++ b/lib/python/Plugins/Plugin.py @@ -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) -- cgit v1.2.3