From 855532ed7ffd3415150c73574eb8e9038f1075eb Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Fri, 1 Jun 2012 20:04:08 +0100 Subject: issue 197 - fix GTK3 unique application support by using g_application_command_line_get_is_remote instead of g_application_get_remote, swedish translation update, translation credits update, add gtk3 eclipse include path settings file. --- src/trg-main-window.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/trg-main-window.c') 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), -- cgit v1.2.3