Changeset 12089


Ignore:
Timestamp:
Mar 4, 2011, 6:08:40 AM (11 years ago)
Author:
jordan
Message:

(2.1x gtk) #4080 "Toggling speed limit mode from the web interface doesn't affect GUI" -- fixed.

Location:
branches/2.1x/gtk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/2.1x/gtk/main.c

    r11552 r12089  
    477477
    478478            for( l=changed_keys; l!=NULL; l=l->next )
    479                 prefschanged( cbdata->core, key, cbdata );
     479                tr_core_pref_changed( cbdata->core, l->data );
    480480
    481481            g_slist_free( changed_keys );
  • branches/2.1x/gtk/tr-core.c

    r11552 r12089  
    15141514**/
    15151515
     1516void
     1517tr_core_pref_changed( TrCore * core, const char * key )
     1518{
     1519    g_signal_emit( core, core_signals[PREFS_SIGNAL], 0, key );
     1520}
     1521
    15161522static void
    15171523commitPrefsChange( TrCore * core, const char * key )
    15181524{
    1519     g_signal_emit( core, core_signals[PREFS_SIGNAL], 0, key );
     1525    tr_core_pref_changed( core, key );
    15201526    pref_save( tr_core_session( core ) );
    15211527}
  • branches/2.1x/gtk/tr-core.h

    r11552 r12089  
    8787
    8888size_t         tr_core_get_torrent_count( TrCore * self );
     89
     90void           tr_core_pref_changed( TrCore * core, const char * key );
    8991
    9092/******
Note: See TracChangeset for help on using the changeset viewer.