from Screen import Screen
from Components.ActionMap import ActionMap
-from Components.ConfigList import ConfigList, ConfigListScreen
+from Components.ConfigList import ConfigListScreen
from Components.config import config, getConfigListEntry
from Components.Network import iNetwork
from Components.Label import Label
from Components.MenuList import MenuList
-from Components.config import config, ConfigYesNo, ConfigIP, NoSave, ConfigSubsection, ConfigNothing
+from Components.config import config, ConfigYesNo, ConfigIP, NoSave, ConfigNothing
from Components.PluginComponent import plugins
from Plugins.Plugin import PluginDescriptor
self.list.append(getConfigListEntry(_('Gateway'), self.gatewayConfigEntry))
self.extended = None
+ self.extendedSetup = None
for p in plugins.getPlugins(PluginDescriptor.WHERE_NETWORKSETUP):
callFnc = p.__call__["ifaceSupported"](self.iface)
if callFnc is not None:
else:
self.configStrings = None
- if p.__call__.has_key(menuEntryName):
+ if p.__call__.has_key("menuEntryName"):
menuEntryName = p.__call__["menuEntryName"](self.iface)
else:
menuEntryName = _('Extended Setup...')
else:
iNetwork.removeAdapterAttribute(self.iface, "gateway")
- print "self.extended:", self.extended
- print "self.configStrings:", self.configStrings
if self.extended is not None and self.configStrings is not None:
iNetwork.setAdapterAttribute(self.iface, "configStrings", self.configStrings(self.iface))