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.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/trg-main-window.c b/src/trg-main-window.c
index 27b09a4..a6dfc9f 100644
--- a/src/trg-main-window.c
+++ b/src/trg-main-window.c
@@ -499,12 +499,6 @@ gint trg_add_from_filename(TrgMainWindow * win, gchar ** uris)
return EXIT_SUCCESS;
}
-/*void trg_main_window_set_start_args(TrgMainWindow * window, gchar ** args)
-{
- TrgMainWindowPrivate *priv = TRG_MAIN_WINDOW_GET_PRIVATE(window);
- priv->args = args;
-}*/
-
static void resume_all_cb(GtkWidget * w G_GNUC_UNUSED, gpointer data)
{
TrgMainWindowPrivate *priv = TRG_MAIN_WINDOW_GET_PRIVATE(data);
@@ -1133,7 +1127,7 @@ static void update_whatever_statusicon(TrgMainWindow * win,
gchar *seedingLabel;
gchar buf[32];
- trg_strlsize(buf, stats->downRateTotal);
+ trg_strlspeed(buf, stats->downRateTotal);
downloadingLabel = g_strdup_printf(_("%d Downloading @ %s"),
stats->down, buf);
gtk_menu_item_set_label(GTK_MENU_ITEM(priv->iconDownloadingItem),