aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authoracid-burn <acidburn@opendreambox.org>2009-07-22 08:41:27 +0200
committeracid-burn <acidburn@opendreambox.org>2009-07-22 08:41:27 +0200
commit7cc28be2015e4ebb56d585c9cee2949138e4d67e (patch)
treee0e98cea0e05b6ac2f6a7a7723226f1a6e07c339 /lib
parenta6f7c725e21a4b6ed064e92b453331837d12f267 (diff)
downloadenigma2-7cc28be2015e4ebb56d585c9cee2949138e4d67e.tar.gz
enigma2-7cc28be2015e4ebb56d585c9cee2949138e4d67e.zip
properly update statusbar after network restart
also ignore wmaster0 interface
Diffstat (limited to 'lib')
-rwxr-xr-xlib/python/Components/Network.py2
-rwxr-xr-xlib/python/Screens/NetworkSetup.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Components/Network.py b/lib/python/Components/Network.py
index 31a90282..f65d6090 100755
--- a/lib/python/Components/Network.py
+++ b/lib/python/Components/Network.py
@@ -46,7 +46,7 @@ class Network:
for line in result:
try:
device = devicesPattern.search(line).group()
- if device == 'wifi0':
+ if device in ('wifi0', 'wmaster0'):
continue
self.getDataForInterface(device, callback)
except AttributeError:
diff --git a/lib/python/Screens/NetworkSetup.py b/lib/python/Screens/NetworkSetup.py
index 50f8c41b..db6b5f9c 100755
--- a/lib/python/Screens/NetworkSetup.py
+++ b/lib/python/Screens/NetworkSetup.py
@@ -946,6 +946,7 @@ class AdapterSetupConfiguration(Screen, HelpableScreen):
def restartfinishedCB(self,data):
if data is True:
+ self.updateStatusbar()
self.session.open(MessageBox, _("Finished restarting your network"), type = MessageBox.TYPE_INFO, timeout = 10, default = False)
def dataAvail(self,data):