1 from Screens.Screen import Screen
2 from Plugins.Plugin import PluginDescriptor
3 from Components.config import getConfigListEntry, config
5 def NetworkWizardMain(session, **kwargs):
6 session.open(NetworkWizard)
8 def startSetup(menuid):
12 return [(_("Network Wizard") + "...", NetworkWizardMain, "nw_wizard", 40)]
14 def NetworkWizard(*args, **kwargs):
15 from NetworkWizard import NetworkWizard
16 return NetworkWizard(*args, **kwargs)
18 def Plugins(**kwargs):
20 if config.misc.firstrun.value:
21 list.append(PluginDescriptor(name=_("Network Wizard"), where = PluginDescriptor.WHERE_WIZARD, fnc=(25, NetworkWizard)))