diff --git a/ChangeLog b/ChangeLog index 91587c566d..f124fc556d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2005-10-02 Dan Williams + + * gnome/applet/applet.c + - Adjust signal strength -> icon mapping values slightly + (so that 51% signal doesn't show a 75% icon) by adding + 5% to the values. ex: > 5% now shows 25% icon, > 30% + shows 50% icon, etc. + 2005-09-29 Robert Love * src/NetworkManager.c: removed unused variable. diff --git a/gnome/applet/applet.c b/gnome/applet/applet.c index f69046dc45..c7369a6999 100644 --- a/gnome/applet/applet.c +++ b/gnome/applet/applet.c @@ -873,13 +873,13 @@ static GdkPixbuf *nmwa_get_connected_icon (NMWirelessApplet *applet, NetworkDevi else { strength = CLAMP ((int)network_device_get_strength (dev), 0, 100); - if (strength > 75) + if (strength > 80) pixbuf = applet->wireless_100_icon; - else if (strength > 50) + else if (strength > 55) pixbuf = applet->wireless_75_icon; - else if (strength > 25) + else if (strength > 30) pixbuf = applet->wireless_50_icon; - else if (strength > 0) + else if (strength > 5) pixbuf = applet->wireless_25_icon; else pixbuf = applet->wireless_00_icon;