Changeset 11261


Ignore:
Timestamp:
Sep 24, 2010, 2:21:08 PM (11 years ago)
Author:
charles
Message:

(trunk gtk) #3554 "turtle speed button doesn't update when toggled via RPC" -- fix minor bug introduced in r11215

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/main.c

    r11253 r11261  
    453453            tr_benc * oldvals = pref_get_all( );
    454454            const char * key;
     455            GSList * l;
     456            GSList * changed_keys = NULL;
    455457            tr_bencInitDict( &tmp, 100 );
    456458            tr_sessionGetSettings( session, &tmp );
     
    470472
    471473                if( changed )
    472                     prefschanged( cbdata->core, key, cbdata );
     474                    changed_keys = g_slist_append( changed_keys, key );
    473475            }
    474476            tr_sessionGetSettings( session, oldvals );
     477
     478            for( l=changed_keys; l!=NULL; l=l->next )
     479                prefschanged( cbdata->core, key, cbdata );
     480
     481            g_slist_free( changed_keys );
    475482            tr_bencFree( &tmp );
    476483            break;
Note: See TracChangeset for help on using the changeset viewer.