From 89f24ab94c080450470fcf6e9d8a36cc397c730d Mon Sep 17 00:00:00 2001
From: Simon Schampijer <simon@laptop.org>
Date: Mon, 18 Feb 2013 10:15:14 +0100
Subject: [PATCH 2/2] Frame, Wireless Device icon: make sure the Ssid is
displayed in the connected state, SL #4430
In the connection status code we left out a few states of the
connecting phase and therefore ended in the disconnected code
path for those, hence giving false user feedback about the
current state.
Signed-off-by: Simon Schampijer <simon@laptop.org>
---
extensions/deviceicon/network.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/extensions/deviceicon/network.py b/extensions/deviceicon/network.py
index ab3b73f..5475407 100644
a
|
b
|
class WirelessDeviceView(ToolButton): |
556 | 556 | if state == network.NM_DEVICE_STATE_PREPARE or \ |
557 | 557 | state == network.NM_DEVICE_STATE_CONFIG or \ |
558 | 558 | state == network.NM_DEVICE_STATE_NEED_AUTH or \ |
559 | | state == network.NM_DEVICE_STATE_IP_CONFIG: |
| 559 | state == network.NM_DEVICE_STATE_IP_CONFIG or \ |
| 560 | state == network.NM_DEVICE_STATE_IP_CHECK or \ |
| 561 | state == network.NM_DEVICE_STATE_SECONDARIES: |
560 | 562 | self._palette.set_connecting() |
561 | 563 | self._icon.props.pulsing = True |
562 | 564 | elif state == network.NM_DEVICE_STATE_ACTIVATED: |