Skip to content
Permalink
Browse files
Fixed Ad-hoc icon mixup on the frame
* Non-Sugar Ad-hoc networks are shown like access points
* Fixes ticket 3006: https://bugs.sugarlabs.org/ticket/3006
* This is a GCI 2015 task: https://codein.withgoogle.com/tasks/6255669527183360/
  • Loading branch information
ezequielpereira authored and samdroid-apps committed May 28, 2016
1 parent 6f84d5f commit b86b623
Showing 1 changed file with 1 addition and 1 deletion.
@@ -536,7 +536,7 @@ def _update_state(self):
else:
state = network.NM_DEVICE_STATE_UNKNOWN

if self._mode != network.NM_802_11_MODE_ADHOC and \
if self._mode != network.NM_802_11_MODE_ADHOC or \
network.is_sugar_adhoc_network(self._ssid) is False:
if state == network.NM_DEVICE_STATE_ACTIVATED:
icon_name = '%s-connected' % 'network-wireless'

0 comments on commit b86b623

Please sign in to comment.