diff options
author | Ajay Garg <ajay@activitycentral.com> | 2013-02-04 08:04:24 (GMT) |
---|---|---|
committer | Ajay Garg <ajay@activitycentral.com> | 2013-02-04 09:28:22 (GMT) |
commit | 5bca16505f5502c06649888564ab7739bcab3a63 (patch) | |
tree | 3cf8b326247c4ea558c029ac1531b00f146b630e /extensions | |
parent | 5043d0baddd0f247072de38963df5167d9f63652 (diff) |
When 3G-connection was shared, the icon was not visible in the bottom-frame tray.
Signed-off-by: Ajay Garg <ajay@activitycentral.com>
Diffstat (limited to 'extensions')
-rw-r--r-- | extensions/deviceicon/network.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/deviceicon/network.py b/extensions/deviceicon/network.py index 14bb048..34e1496 100644 --- a/extensions/deviceicon/network.py +++ b/extensions/deviceicon/network.py @@ -601,8 +601,8 @@ class WirelessDeviceView(ToolButton): else: state = network.NM_DEVICE_STATE_UNKNOWN - if self._mode != network.NM_802_11_MODE_ADHOC and \ - network.is_sugar_adhoc_network(self._ssid) == False: + if not (self._mode == network.NM_802_11_MODE_ADHOC and \ + network.is_sugar_adhoc_network(self._ssid)): if state == network.NM_DEVICE_STATE_ACTIVATED: icon_name = '%s-connected' % 'network-wireless' else: |