mirror of
https://github.com/gryf/wicd.git
synced 2025-12-22 05:48:03 +01:00
Always updated the network list if we get a scan finished signal.
This commit is contained in:
@@ -454,7 +454,6 @@ class appGui(object):
|
||||
|
||||
"""
|
||||
if not DBUS_AVAIL: return
|
||||
if not self.connecting:
|
||||
gobject.idle_add(self.refresh_networks, None, False, None)
|
||||
|
||||
def dbus_scan_started(self):
|
||||
@@ -464,7 +463,7 @@ class appGui(object):
|
||||
|
||||
def refresh_clicked(self, widget=None):
|
||||
""" Kick off an asynchronous wireless scan. """
|
||||
if not DBUS_AVAIL: return
|
||||
if not DBUS_AVAIL or self.connecting: return
|
||||
self.refreshing = True
|
||||
wireless.Scan(False)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user