mirror of
https://github.com/transmission/transmission.git
synced 2025-12-27 05:38:40 +00:00
(trunk T) add preliminary enable/disable toggles in daemon, gtk, and qt clients. 'preliminary' because this may be widened to a tri-state of inabled, disabled, and incoming only
This commit is contained in:
@@ -1451,6 +1451,10 @@ on_prefs_changed( TrCore * core UNUSED, const char * key, gpointer data )
|
||||
{
|
||||
tr_sessionSetDHTEnabled( tr, gtr_pref_flag_get( key ) );
|
||||
}
|
||||
else if( !strcmp( key, TR_PREFS_KEY_UTP_ENABLED ) )
|
||||
{
|
||||
tr_sessionSetUTPEnabled( tr, gtr_pref_flag_get( key ) );
|
||||
}
|
||||
else if( !strcmp( key, TR_PREFS_KEY_LPD_ENABLED ) )
|
||||
{
|
||||
tr_sessionSetLPDEnabled( tr, gtr_pref_flag_get( key ) );
|
||||
|
||||
Reference in New Issue
Block a user