From 7cc28be2015e4ebb56d585c9cee2949138e4d67e Mon Sep 17 00:00:00 2001 From: acid-burn Date: Wed, 22 Jul 2009 08:41:27 +0200 Subject: [PATCH 1/1] properly update statusbar after network restart also ignore wmaster0 interface --- lib/python/Components/Network.py | 2 +- lib/python/Screens/NetworkSetup.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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): -- 2.30.2