Changeset 12088


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

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

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

Legend:

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

    r12067 r12088  
    553553
    554554            for( l=changed_keys; l!=NULL; l=l->next )
    555                 on_prefs_changed( cbdata->core, key, cbdata );
     555                tr_core_pref_changed( cbdata->core, l->data );
    556556
    557557            g_slist_free( changed_keys );
  • branches/2.2x/gtk/tr-core.c

    r12066 r12088  
    15211521**/
    15221522
     1523void
     1524tr_core_pref_changed( TrCore * core, const char * key )
     1525{
     1526    g_signal_emit( core, core_signals[PREFS_SIGNAL], 0, key );
     1527}
     1528
    15231529static void
    15241530commitPrefsChange( TrCore * core, const char * key )
    15251531{
    1526     g_signal_emit( core, core_signals[PREFS_SIGNAL], 0, key );
     1532    tr_core_pref_changed( core, key );
    15271533    gtr_pref_save( tr_core_session( core ) );
    15281534}
  • branches/2.2x/gtk/tr-core.h

    r12066 r12088  
    8888
    8989size_t         tr_core_get_torrent_count( TrCore * self );
     90
     91void           tr_core_pref_changed( TrCore * core, const char * key );
     92
    9093
    9194/******
Note: See TracChangeset for help on using the changeset viewer.