add 'weight' for menu entries (including plugins), so they can be sorted, patch by...
[vuplus_dvbapp] / lib / python / Plugins / SystemPlugins / SatelliteEquipmentControl / plugin.py
index 2c88bda..6cf7c8f 100644 (file)
@@ -61,12 +61,12 @@ def SecSetupStart(menuid):
        # only show if DVB-S frontends are available
        for slot in nimmgr.nim_slots:
                if slot.isCompatible("DVB-S"):
-                       return [(_("Satellite Equipment Setup"), SecSetupMain)]
+                       return [(_("Satellite Equipment Setup"), SecSetupMain, "satellite_equipment_setup", None)]
 
        return [ ]
 
 def Plugins(**kwargs):
-       if (nimmanager.hasNimType("DVB-S")):
-               return PluginDescriptor(name=_("Satellite Equipment Setup"), description="Setup your satellite equipment", where = PluginDescriptor.WHERE_SETUP, fnc=SecSetupStart)
+       if (nimmgr.hasNimType("DVB-S")):
+               return PluginDescriptor(name=_("Satellite Equipment Setup"), description="Setup your satellite equipment", where = PluginDescriptor.WHERE_MENU, fnc=SecSetupStart)
        else:
                return []