Changeset 525 for trunk/libtransmission


Ignore:
Timestamp:
Jul 4, 2006, 10:31:14 PM (15 years ago)
Author:
joshe
Message:

Move the ETA cap of 99:59:59 from libtransmission to the MacOS X GUI.
Display the ETA better in the GTK GUI.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/transmission.c

    r414 r525  
    469469        s->eta = (float) ( 1.0 - s->progress ) *
    470470            (float) inf->totalSize / s->rateDownload / 1024.0;
    471         if( s->eta > 99 * 3600 + 59 * 60 + 59 )
    472         {
    473             s->eta = -1;
    474         }
    475471    }
    476472
Note: See TracChangeset for help on using the changeset viewer.