Changeset 6184


Ignore:
Timestamp:
Jun 13, 2008, 9:19:04 PM (14 years ago)
Author:
charles
Message:

(gtk 1.2x) #1015: "only count selected files in the progress bar" backported to 1.2x branch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2x/gtk/torrent-cell-renderer.c

    r5587 r6184  
    454454        if( 1 )
    455455        {
    456             const double havePercent = ( torStat->haveValid + torStat->haveUnchecked )
    457                                                               / (double)info->totalSize;
    458             g_object_set( p->progress_renderer, "value", (int)(havePercent*100.0),
     456            g_object_set( p->progress_renderer, "value", (int)(torStat->percentDone*100.0),
    459457                                                "text", "",
    460458                                                NULL );
Note: See TracChangeset for help on using the changeset viewer.