Changeset 1150


Ignore:
Timestamp:
Dec 2, 2006, 4:31:39 AM (15 years ago)
Author:
joshe
Message:

Show total completed downloads in properties window.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/dialogs.c

    r920 r1150  
    542542  int ii;
    543543  char *str;
    544   const int rowcount = 14;
     544  const int rowcount = 15;
    545545  GtkWidget *table = gtk_table_new(rowcount, 2, FALSE);
    546546
     
    591591  else
    592592    INFOLINEF(table, ii, "%i", _("Leechers:"), sb->leechers);
     593  if(0 > sb->completedFromTracker)
     594    INFOLINE(table, ii, _("Completed:"), _("?"));
     595  else
     596    INFOLINEF(table, ii, "%i", _("Completed:"), sb->completedFromTracker);
    593597
    594598  INFOSEP(table, ii);
Note: See TracChangeset for help on using the changeset viewer.