Changeset 12087


Ignore:
Timestamp:
Mar 4, 2011, 5:58:32 AM (11 years ago)
Author:
jordan
Message:

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

Location:
trunk/gtk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/main.c

    r12071 r12087  
    523523
    524524            for( l=changed_keys; l!=NULL; l=l->next )
    525                 on_prefs_changed( cbdata->core, key, cbdata );
     525                gtr_core_pref_changed( cbdata->core, l->data );
    526526
    527527            g_slist_free( changed_keys );
  • trunk/gtk/tr-core.c

    r12085 r12087  
    317317}
    318318
    319 static inline void
    320 core_emit_prefs_changed( TrCore * core, const char * key )
     319void
     320gtr_core_pref_changed( TrCore * core, const char * key )
    321321{
    322322    g_signal_emit( core, core_signals[PREFS_SIGNAL], 0, key );
     
    15741574core_commit_prefs_change( TrCore * core, const char * key )
    15751575{
    1576     core_emit_prefs_changed( core, key );
     1576    gtr_core_pref_changed( core, key );
    15771577    gtr_pref_save( gtr_core_session( core ) );
    15781578}
  • trunk/gtk/tr-core.h

    r12068 r12087  
    8686
    8787tr_torrent *   gtr_core_find_torrent( TrCore * core, int id );
     88
     89void           gtr_core_pref_changed( TrCore * core, const char * key );
     90
    8891
    8992/******
Note: See TracChangeset for help on using the changeset viewer.