Comment 3 for bug 672452

Revision history for this message
Fabounet (fabounet03) wrote : Re: [Cairo-dock-team] [Bug 672452] Re: Incorrect down/up speeds in Netspeed

ok thanks for the detail :-)
do you use a graphic or a gauge ? if so, which gauge theme ?

2011/1/25 Tsu Jan <email address hidden>

> 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.
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~cairo-dock-team<https://launchpad.net/%7Ecairo-dock-team>
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~cairo-dock-team<https://launchpad.net/%7Ecairo-dock-team>
> More help : https://help.launchpad.net/ListHelp
>