Changeset 4978


Ignore:
Timestamp:
Feb 8, 2008, 3:00:19 AM (14 years ago)
Author:
charles
Message:

(gtk) #694: Forgets pause state after restart

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/tr_core.c

    r4919 r4978  
    480480
    481481int
    482 tr_core_load( TrCore * self, gboolean paused )
     482tr_core_load( TrCore * self, gboolean forcePaused )
    483483{
    484484    int i;
     
    493493
    494494    ctor = tr_ctorNew( self->handle );
    495     tr_ctorSetPaused( ctor, TR_FORCE, paused );
     495    if( forcePaused )
     496        tr_ctorSetPaused( ctor, TR_FORCE, TRUE );
    496497    tr_ctorSetDestination( ctor, TR_FALLBACK, path );
    497498    tr_ctorSetMaxConnectedPeers( ctor, TR_FALLBACK, pref_int_get( PREF_KEY_MAX_PEERS_PER_TORRENT ) );
Note: See TracChangeset for help on using the changeset viewer.