Changeset 8420 for trunk/gtk/main.c


Ignore:
Timestamp:
May 16, 2009, 7:41:41 PM (13 years ago)
Author:
charles
Message:

(trunk gtk) #2090: Speed limit switch accessibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/main.c

    r8410 r8420  
    10761076    else if( !strcmp( key, TR_PREFS_KEY_ALT_SPEED_ENABLED ) )
    10771077    {
    1078         tr_sessionUseAltSpeed( tr, pref_flag_get( key ) );
     1078        const gboolean b = pref_flag_get( key );
     1079        tr_sessionUseAltSpeed( tr, b );
     1080        action_toggle( key, b );
    10791081    }
    10801082    else if( !strcmp( key, TR_PREFS_KEY_ALT_SPEED_TIME_BEGIN ) )
Note: See TracChangeset for help on using the changeset viewer.