From: acid-burn Date: Mon, 9 May 2011 09:03:39 +0000 (+0200) Subject: Network.py: change network interface description name to old state. (LAN connection... X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/baedb13351c92deaf80c2b1bc012054c8cc69bdc?ds=sidebyside Network.py: change network interface description name to old state. (LAN connection 1 -> Lan connection). refs #725 --- diff --git a/lib/python/Components/Network.py b/lib/python/Components/Network.py index eee5a702..32b8bdbe 100755 --- a/lib/python/Components/Network.py +++ b/lib/python/Components/Network.py @@ -274,16 +274,16 @@ class Network: name = None if self.isWirelessInterface(iface): if iface not in self.wlan_interfaces: - self.wlan_interfaces.append(iface) name = _("WLAN connection") if len(self.wlan_interfaces): - name += " " + str(len(self.wlan_interfaces)) + name += " " + str(len(self.wlan_interfaces)+1) + self.wlan_interfaces.append(iface) else: if iface not in self.lan_interfaces: - self.lan_interfaces.append(iface) name = _("LAN connection") if len(self.lan_interfaces): - name += " " + str(len(self.lan_interfaces)) + name += " " + str(len(self.lan_interfaces)+1) + self.lan_interfaces.append(iface) return name def getFriendlyAdapterDescription(self, iface):