Commit 0585e980 authored by Colin Walters's avatar Colin Walters
Browse files

2004-12-21 Colin Walters <walters@verbum.org>

	* panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
	test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@354 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
parent 399003d4
2004-12-21 Colin Walters <walters@verbum.org>
* panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
2004-12-21 Colin Walters <walters@redhat.com>
* configure.in: Correct named detection.
......
......@@ -981,7 +981,7 @@ static void nmwa_dbus_update_devices (NMWirelessApplet *applet)
network_device_ref (dev);
if (dev->type == DEVICE_TYPE_WIRELESS_ETHERNET)
{
adhoc = nmwa_dbus_get_object_mode (applet, nm_act_dev);
adhoc = (nmwa_dbus_get_object_mode (applet, nm_act_dev) == NETWORK_MODE_ADHOC);
nmwa_dbus_update_device_wireless_networks (dev, TRUE, applet);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment