Ignore:
Timestamp:
Apr 6, 2008, 2:32:43 PM (14 years ago)
Author:
charles
Message:

#843: download eta should consider availability

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.1x/gtk/tr-torrent.c

    r5313 r5537  
    285285
    286286        case TR_STATUS_DOWNLOAD:
    287             if( eta < 0 )
    288                 top = g_strdup_printf( _("Stalled (%.1f%%)"), prog );
     287
     288            if( eta == TR_ETA_NOT_AVAIL )
     289                top = g_strdup_printf( _("Not available (%.1f%%)" ), prog );
     290            else if( eta == TR_ETA_UNKNOWN )
     291                top = g_strdup_printf( _( "Stalled (%.1f%%)" ), prog );
    289292            else {
    290293                char timestr[128];
Note: See TracChangeset for help on using the changeset viewer.