Ignore:
Timestamp:
Aug 4, 2010, 5:23:25 AM (12 years ago)
Author:
Longinus00
Message:

(2.0x) #3185: Number on drop-down menu "Activity" - "Active" seems does not follow a change in torrent status correctly

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0x/gtk/filter.c

    r10672 r11106  
    590590    ACTIVITY_FILTER_ACTIVE,
    591591    ACTIVITY_FILTER_PAUSED,
     592    ACTIVITY_FILTER_FINISHED,
    592593    ACTIVITY_FILTER_QUEUED,
    593594    ACTIVITY_FILTER_VERIFYING,
     
    634635            return st->activity == TR_STATUS_STOPPED;
    635636
     637        case ACTIVITY_FILTER_FINISHED:
     638            return st->finished == TRUE;
     639
    636640        case ACTIVITY_FILTER_QUEUED:
    637             return FALSE;
     641            return st->activity == TR_STATUS_CHECK_WAIT;
    638642
    639643        case ACTIVITY_FILTER_VERIFYING:
    640             return ( st->activity == TR_STATUS_CHECK_WAIT )
    641                 || ( st->activity == TR_STATUS_CHECK );
     644            return st->activity == TR_STATUS_CHECK ;
    642645
    643646        case ACTIVITY_FILTER_ERROR:
     
    646649        default: /* ACTIVITY_FILTER_ALL */
    647650            return TRUE;
    648 
    649651    }
    650652}
     
    721723        { ACTIVITY_FILTER_SEEDING, N_( "Seeding" ), GTK_STOCK_GO_UP },
    722724        { ACTIVITY_FILTER_PAUSED, N_( "Paused" ), GTK_STOCK_MEDIA_PAUSE },
     725        { ACTIVITY_FILTER_FINISHED, N_( "Finished" ), NULL },
    723726        { ACTIVITY_FILTER_QUEUED, N_( "Queued" ), NULL },
    724727        { ACTIVITY_FILTER_VERIFYING, N_( "Verifying" ), GTK_STOCK_REFRESH },
Note: See TracChangeset for help on using the changeset viewer.