From cd3800287297bdcd9fb8c90ee01a2414be3b9312 Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Mon, 2 Jan 2012 14:14:41 +0000 Subject: change units to the IEC standard (and the Ubuntu units policy) for base2 (/1024) - KiB/GiB etc. this is instead of KB/s etc which Windows and many other apps use for base2. I've tried to fix up the translations as best as I can. --- src/trg-status-bar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/trg-status-bar.c') diff --git a/src/trg-status-bar.c b/src/trg-status-bar.c index dc9d4e8..91699cb 100644 --- a/src/trg-status-bar.c +++ b/src/trg-status-bar.c @@ -181,8 +181,8 @@ void trg_status_bar_update(TrgStatusBar * sb, session, SGET_SPEED_LIMIT_UP) : -1; - trg_strlspeed(downRateTotalString, stats->downRateTotal / KILOBYTE_FACTOR); - trg_strlspeed(upRateTotalString, stats->upRateTotal / KILOBYTE_FACTOR); + trg_strlspeed(downRateTotalString, stats->downRateTotal / disk_K); + trg_strlspeed(upRateTotalString, stats->upRateTotal / disk_K); if (uplimitraw >= 0) { gchar uplimitstring[32]; -- cgit v1.2.3