Changeset 7391


Ignore:
Timestamp:
Dec 14, 2008, 10:41:44 PM (10 years ago)
Author:
charles
Message:

(trunk gtk) fix bug that didn't save the settings when the user changed the "blocklist enabled" setting. reported by Rol Col

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/main.c

    r7367 r7391  
    10401040        tr_sessionSetPeerPort( tr, port );
    10411041    }
     1042    else if( !strcmp( key, TR_PREFS_KEY_BLOCKLIST_ENABLED ) )
     1043    {
     1044        const gboolean flag = pref_flag_get( key );
     1045        tr_blocklistSetEnabled( tr, flag );
     1046    }
    10421047    else if( !strcmp( key, PREF_KEY_SHOW_TRAY_ICON ) )
    10431048    {
Note: See TracChangeset for help on using the changeset viewer.