add entryid to WHERE_MENU, add entryids in local plugins (patch by Moritz Venn, 005_e...
[enigma2.git] / lib / python / Plugins / SystemPlugins / Satfinder / plugin.py
index 6d177e4c024e79d0c6206758a74853c2cbc35d87..fc7855f8f3c57cde1e8dc082740a3615345c5d0c 100644 (file)
@@ -41,7 +41,7 @@ class Tuner:
 class Satfinder(ScanSetup):
        skin = """
                <screen position="90,100" size="520,400" title="Tune">
-                       <widget name="config" position="20,10" size="460,240" scrollbarMode="showOnDemand" />
+                       <widget name="config" position="20,10" size="460,210" scrollbarMode="showOnDemand" />
                        <widget name="introduction" position="20,360" zPosition="-10" size="350,30" font="Regular;23" />
                        <eLabel text="dB:" position="23,230" size="60,22" font="Regular;21" />
                        <eLabel text="SNR:" position="23,255" size="60,22" font="Regular;21" />
@@ -113,7 +113,7 @@ class Satfinder(ScanSetup):
                ScanSetup.__init__(self, session)
                self.tuner = Tuner(self.frontend)
                self["introduction"].setText("")
-               self["Frontend"] = FrontendStatus(frontend_source = self.frontend, update_interval = 100)
+               self["Frontend"] = FrontendStatus(frontend_source = lambda : self.frontend, update_interval = 100)
                self.initcomplete = True
 
        def createSetup(self):
@@ -272,12 +272,12 @@ def SatfinderMain(session, **kwargs):
 
 def SatfinderStart(menuid, **kwargs):
        if menuid == "scan":
-               return [(_("Satfinder"), SatfinderMain)]
+               return [(_("Satfinder"), SatfinderMain, "satfinder")]
        else:
                return []
 
 def Plugins(**kwargs):
        if (nimmanager.hasNimType("DVB-S")):
-               return PluginDescriptor(name=_("Satfinder"), description="Helps setting up your dish", where = PluginDescriptor.WHERE_SETUP, fnc=SatfinderStart)
+               return PluginDescriptor(name=_("Satfinder"), description="Helps setting up your dish", where = PluginDescriptor.WHERE_MENU, fnc=SatfinderStart)
        else:
                return []