[network-manager-applet/NMA_0_8_1] menu: use correct signal bar icon for stupid drivers (rh #594923)



commit c617ed757ab7f9c8ae51ffdbf4a7b265adde12d2
Author: Dan Williams <dcbw redhat com>
Date:   Wed May 26 12:52:43 2010 -0700

    menu: use correct signal bar icon for stupid drivers (rh #594923)
    
    If the drivers (like wl.o) don't consistently report the associated
    BSSID and SSID at various times (you'll see:
    
    (eth1): roamed from BSSID 00:11:22:33:EA:3A (OurWifi) to (none) ((none))
    
    for example)
    
    then make sure we actually load the no-signal-bars icon instead of
    getting the fallback icon.

 src/applet-device-wifi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/applet-device-wifi.c b/src/applet-device-wifi.c
index e8ddb7f..cebdf80 100644
--- a/src/applet-device-wifi.c
+++ b/src/applet-device-wifi.c
@@ -1326,7 +1326,7 @@ wireless_get_icon (NMDevice *device,
 			*tip = g_strdup_printf (_("Wireless network connection '%s' active: %s (%d%%)"),
 			                        id, ssid, strength);
 		} else {
-			pixbuf = applet->wireless_00_icon;
+			pixbuf = nma_icon_check_and_load ("nm-signal-00", &applet->wireless_00_icon, applet);
 			*tip = g_strdup_printf (_("Wireless network connection '%s' active"), id);
 		}
 		break;



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