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
This commit is contained in:
Colin Walters
2004-12-22 00:21:42 +00:00
parent 399003d492
commit 0585e980a0
2 changed files with 6 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
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> 2004-12-21 Colin Walters <walters@redhat.com>
* configure.in: Correct named detection. * configure.in: Correct named detection.

View File

@@ -981,7 +981,7 @@ static void nmwa_dbus_update_devices (NMWirelessApplet *applet)
network_device_ref (dev); network_device_ref (dev);
if (dev->type == DEVICE_TYPE_WIRELESS_ETHERNET) 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); nmwa_dbus_update_device_wireless_networks (dev, TRUE, applet);
} }
} }