mirror of
https://github.com/gryf/wicd.git
synced 2025-12-19 20:38:00 +01:00
Added missing icon images
Updated dbus config file to work under more distros Added support for determing wireless interface by parsing /proc/net/wireless (removing need for iwconfig call) A few minor formatting improvements.
This commit is contained in:
@@ -241,7 +241,7 @@ class ConnectionStatus():
|
||||
# If we just lost a wireless connection, try to connect to that
|
||||
# network again. Otherwise just call Autoconnect.
|
||||
cur_net_id = wireless.GetCurrentNetworkID(self.iwconfig)
|
||||
if from_wireless and cur_net_id > -1: # Needs to be a valid network
|
||||
if from_wireless and cur_net_id > -1:
|
||||
print 'Trying to reconnect to last used wireless ' + \
|
||||
'network'
|
||||
wireless.ConnectWireless(cur_net_id)
|
||||
|
||||
Reference in New Issue
Block a user