diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-07-12 10:20:54 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-07-12 10:20:54 +0000 |
| commit | 4c2f2aa0d877022079e0670b9269cfe89c9ac8eb (patch) | |
| tree | cf7eefd296a205673f5be6d7ea973878340f7823 /lib/python/Screens/NetworkSetup.py | |
| parent | 78f23d91e55c784db26d424835dc79444a7d9fff (diff) | |
| download | enigma2-4c2f2aa0d877022079e0670b9269cfe89c9ac8eb.tar.gz enigma2-4c2f2aa0d877022079e0670b9269cfe89c9ac8eb.zip | |
dont show WLAN Status when WLAN IF is not up
Diffstat (limited to 'lib/python/Screens/NetworkSetup.py')
| -rw-r--r-- | lib/python/Screens/NetworkSetup.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Screens/NetworkSetup.py b/lib/python/Screens/NetworkSetup.py index 88c078de..be2a763d 100644 --- a/lib/python/Screens/NetworkSetup.py +++ b/lib/python/Screens/NetworkSetup.py @@ -510,7 +510,8 @@ class AdapterSetupConfiguration(Screen): callFnc = p.__call__["ifaceSupported"](self.iface) if callFnc is not None: menu.append((_("Scan Wireless Networks"), "scanwlan")) - menu.append((_("Show WLAN Status"), "wlanstatus")) + if iNetwork.getAdapterAttribute(self.iface, "up"): + menu.append((_("Show WLAN Status"), "wlanstatus")) if os_path.exists(resolveFilename(SCOPE_PLUGINS, "SystemPlugins/NetworkWizard/networkwizard.xml")): menu.append((_("NetworkWizard"), "openwizard")); |
