cairo-dock-team team mailing list archive
-
cairo-dock-team team
-
Mailing list archive
-
Message #02766
[Bug 672452] Re: Incorrect down/up speeds in Netspeed
I compared the values with those of Conky, System Monitor and GKrellm.
All of these network monitors showed the same speeds, while Cairo-Dock's
Netspeed (on the dock) showed irrelevant values. Since I made those
changes, Netspeed shows what the other network monitors do. As I was
satisfied with the effect, I didn't think about the cause ;) Now the
lower value is the correct download speed, while the upper one is the
correct upload speed.
--
You received this bug notification because you are a member of Cairo-
Dock Team, which is subscribed to Cairo-Dock Plug-ins.
https://bugs.launchpad.net/bugs/672452
Title:
Incorrect down/up speeds in Netspeed
Status in Cairo-Dock : Plug-ins:
New
Bug description:
Recently, I began to use Netspeed applet on the dock and found that it
doesn't show the up/down speeds correctly.
I think the following two lines, near the end of "applet-netspeed.c",
are incorrect:
s_fValues[0] = fDownValue;
s_fValues[1] = fUpValue;
Changing them to:
s_fValues[1] = fDownValue;
s_fValues[0] = fUpValue;
fixed the issue for me.
BTW, 'Network-Monitor/src/applet-netspeed.c' has the same issue.
Follow ups
References