Re: CVS-2-7



The following patch restored the essid's in the NMApplet hover messages.

--- NMWirelessApplet.c_orig     2005-02-07 23:41:35.725373448 -0500
+++ NMWirelessApplet.c  2005-02-07 23:43:34.687288488 -0500
@@ -306,7 +306,19 @@
       g_mutex_lock (applet->data_mutex);
       if (    applet->active_device
&& (applet->active_device->type == DEVICE_TYPE_WIRELESS_ETHERNET))
+       {
+                GSList *list;
+ 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 */

--
Bill Moss
Professor, Mathematical Sciences
Clemson University




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]