summaryrefslogtreecommitdiff
path: root/src/trg-main-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/trg-main-window.c')
-rw-r--r--src/trg-main-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trg-main-window.c b/src/trg-main-window.c
index 15dc72c..0f21430 100644
--- a/src/trg-main-window.c
+++ b/src/trg-main-window.c
@@ -1176,14 +1176,14 @@ update_whatever_statusicon(TrgMainWindow * win,
gchar *seedingLabel;
gchar buf[32];
- trg_strlspeed(buf, stats->downRateTotal/1024);
+ trg_strlspeed(buf, stats->downRateTotal/disk_K);
downloadingLabel = g_strdup_printf(_("%d Downloading @ %s"),
stats->down, buf);
gtk_menu_item_set_label(GTK_MENU_ITEM(priv->iconDownloadingItem),
downloadingLabel);
g_free(downloadingLabel);
- trg_strlspeed(buf, stats->upRateTotal/1024);
+ trg_strlspeed(buf, stats->upRateTotal/disk_K);
seedingLabel = g_strdup_printf(_("%d Seeding @ %s"),
stats->seeding, buf);
gtk_menu_item_set_label(GTK_MENU_ITEM(priv->iconSeedingItem),