From 9bb7adccba77fe6797751e0932e6130edb9f42bf Mon Sep 17 00:00:00 2001 From: Jonathan Blandford Date: Thu, 14 Oct 2004 20:50:01 +0000 Subject: [PATCH] actually test compiling it git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@235 4912f4e0-d625-0410-9fb7-b9a5a253dbdc --- panel-applet/NMWirelessAppletDbus.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/panel-applet/NMWirelessAppletDbus.c b/panel-applet/NMWirelessAppletDbus.c index 7feefa1e88..68e1f0849d 100644 --- a/panel-applet/NMWirelessAppletDbus.c +++ b/panel-applet/NMWirelessAppletDbus.c @@ -942,8 +942,9 @@ static void nmwa_dbus_update_device_wireless_networks (NetworkDevice *dev, NMWir goto out; - if (dev->active) + if (dev == applet->active_device) active_network = nmwa_dbus_get_active_network (applet, dev->nm_device, APPLET_STATE_IGNORE); + if (applet->applet_state == APPLET_STATE_NO_NM) goto out; /* Don't proceed if NetworkManager died during the call to get the active network */