Comment 7 for bug 672452

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

thanks SQP :-)
actually your patch fixes half of the bug (sometimes there is a space after
the ':', sometimes not)
so I've improved the fix and Matttbe should be about to push it into the 2.4
release.

2011/9/25 SQP <email address hidden>

> Patch commited that should fix the netspeed bugs.
> Please give it a try and tell me if you still have problems.
>
> http://bazaar.launchpad.net/~cairo-dock-team/cairo-dock-plug-ins/plug-
> ins/revision/2109
>
> ** Changed in: cairo-dock-plug-ins
> Status: New => Fix Committed
>
> --
> 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:
> Fix Committed
>
> 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.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/cairo-dock-plug-ins/+bug/672452/+subscriptions
>
> _______________________________________________
> Mailing list: https://launchpad.net/~cairo-dock-team
> Post to : <email address hidden>
> Unsubscribe : https://launchpad.net/~cairo-dock-team
> More help : https://help.launchpad.net/ListHelp
>