mirror of
https://github.com/gryf/wicd.git
synced 2025-12-19 20:38:00 +01:00
Fixed more signal display issues
Added a "Connecting..." dialog to tray icon in experimental branch Possibly fixed issue where GUI statusbar would still show up as connected when ethernet cable was unplugged.
This commit is contained in:
@@ -208,6 +208,17 @@ class Wireless(Controller):
|
||||
self.wpa_driver)
|
||||
return wiface.GetSignalStrength()
|
||||
|
||||
def GetDBMStrength(self):
|
||||
""" Get the dBm signal strength of the current network.
|
||||
|
||||
Returns:
|
||||
The current dBm signal strength.
|
||||
|
||||
"""
|
||||
wiface = wnettools.WirelessInterface(self.wireless_interface,
|
||||
self.wpa_driver)
|
||||
return wiface.GetDBMStrength()
|
||||
|
||||
|
||||
def GetCurrentNetwork(self):
|
||||
""" Get current network name.
|
||||
|
||||
Reference in New Issue
Block a user