2005-02-08 Dan Williams <dcbw@redhat.com>

Patch from Bill Moss
	* panel-applet/NMWirelessApplet.c
		- Restore correct ESSID in tooltips


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@418 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
Dan Williams 2005-02-08 10:29:34 +00:00
parent a1457c2538
commit bcee1d9ef6
2 changed files with 19 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2005-02-08 Dan Williams <dcbw@redhat.com>
Patch from Bill Moss
* panel-applet/NMWirelessApplet.c
- Restore correct ESSID in tooltips
2005-02-07 Dan Williams <dcbw@redhat.com>
* panel-applet/NMWirelessApplet.[ch]

View file

@ -306,7 +306,20 @@ nmwa_update_state (NMWirelessApplet *applet)
g_mutex_lock (applet->data_mutex);
if ( applet->active_device
&& (applet->active_device->type == DEVICE_TYPE_WIRELESS_ETHERNET))
{
GSList *list;
/* Grab a pointer the active network (for ESSID) */
for (list = applet->active_device->networks; list; list = list->next)
{
WirelessNetwork *network = (WirelessNetwork *) list->data;
if (network->active)
active_network = network;
}
strength = CLAMP ((int)applet->active_device->strength, 0, 100);
}
#if 0
/* Only show icon if there's more than one device and at least one is wireless */