mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-04-14 12:20:44 +02:00
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:
parent
a1457c2538
commit
bcee1d9ef6
2 changed files with 19 additions and 0 deletions
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue