1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-23 22:52:33 +01:00

Tweak autoconnect logic be more likely to work if initial scans don't give us good results.

This commit is contained in:
Dan O'Reilly
2009-01-22 21:26:05 -05:00
parent 33a08b696e
commit c494387a80
2 changed files with 45 additions and 35 deletions

View File

@@ -484,7 +484,7 @@ class appGui(object):
""" Kick off an asynchronous wireless scan. """
if not DBUS_AVAIL: return
self.refreshing = True
wireless.Scan(reply_handler=None, error_handler=None)
wireless.Scan(False)
def refresh_networks(self, widget=None, fresh=True, hidden=None):
""" Refreshes the network list.