[Goodies-commits] r5143 - in xfce4-wavelan-plugin/trunk: . panel-plugin
Landry Breuil
landry at xfce.org
Sat Jul 19 23:34:56 CEST 2008
Author: landry
Date: 2008-07-19 21:34:56 +0000 (Sat, 19 Jul 2008)
New Revision: 5143
Modified:
xfce4-wavelan-plugin/trunk/ChangeLog
xfce4-wavelan-plugin/trunk/panel-plugin/wavelan.c
Log:
Show link quality AND txpower in plugin tooltip.
Update ChangeLog while here.
Modified: xfce4-wavelan-plugin/trunk/ChangeLog
===================================================================
--- xfce4-wavelan-plugin/trunk/ChangeLog 2008-07-19 21:31:19 UTC (rev 5142)
+++ xfce4-wavelan-plugin/trunk/ChangeLog 2008-07-19 21:34:56 UTC (rev 5143)
@@ -1,3 +1,8 @@
+2008-07-19 Landry Breuil <landry at xfce.org>
+
+ * Fix support for OpenBSD, using net80211 API instead of deprecated wi_* API.
+ * Show link quality AND txpower in plugin tooltip.
+
2007-01-10 20:23 james
* Fix a bug where the interface that is top of the list isn't used unless
Modified: xfce4-wavelan-plugin/trunk/panel-plugin/wavelan.c
===================================================================
--- xfce4-wavelan-plugin/trunk/panel-plugin/wavelan.c 2008-07-19 21:31:19 UTC (rev 5142)
+++ xfce4-wavelan-plugin/trunk/panel-plugin/wavelan.c 2008-07-19 21:34:56 UTC (rev 5143)
@@ -219,9 +219,9 @@
wavelan_set_state(wavelan, STATE_LINK0);
if (strlen(stats.ws_netname) > 0)
- tip = g_strdup_printf("%d%% (%s)", stats.ws_quality, stats.ws_netname);
+ tip = g_strdup_printf("%s: %ddB at %ddBm", stats.ws_netname, stats.ws_quality, stats.ws_rate);
else
- tip = g_strdup_printf("%d%%", stats.ws_quality);
+ tip = g_strdup_printf("%ddB at %ddBm", stats.ws_quality, stats.ws_rate);
}
}
else {
More information about the Goodies-commits
mailing list