1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-03-15 16:29:34 +00:00

Show total completed downloads in properties window.

This commit is contained in:
Josh Elsasser 2006-12-02 04:31:39 +00:00
parent 44f8325312
commit ff13d6e71b

View file

@ -541,7 +541,7 @@ makeinfowind(GtkWindow *parent, TrTorrent *tor) {
GtkWidget *wind, *label;
int ii;
char *str;
const int rowcount = 14;
const int rowcount = 15;
GtkWidget *table = gtk_table_new(rowcount, 2, FALSE);
/* XXX should use model and update this window regularly */
@ -590,6 +590,10 @@ makeinfowind(GtkWindow *parent, TrTorrent *tor) {
INFOLINE(table, ii, _("Leechers:"), _("?"));
else
INFOLINEF(table, ii, "%i", _("Leechers:"), sb->leechers);
if(0 > sb->completedFromTracker)
INFOLINE(table, ii, _("Completed:"), _("?"));
else
INFOLINEF(table, ii, "%i", _("Completed:"), sb->completedFromTracker);
INFOSEP(table, ii);