summaryrefslogtreecommitdiff
path: root/src/trg-status-bar.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2012-01-02 14:14:41 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2012-01-02 14:14:41 +0000
commitcd3800287297bdcd9fb8c90ee01a2414be3b9312 (patch)
tree93c4718a5f8dab79f9fd3c0af22c7ab1fc892a26 /src/trg-status-bar.c
parent8259ceddd02f76a337bb7037cdf5b86872ad09c6 (diff)
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.
Diffstat (limited to 'src/trg-status-bar.c')
-rw-r--r--src/trg-status-bar.c4
1 files changed, 2 insertions, 2 deletions
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];