Changeset 4210 for trunk/gtk/tr_core.h


Ignore:
Timestamp:
Dec 19, 2007, 2:46:30 AM (15 years ago)
Author:
charles
Message:

first cut at adopting some of the OS X client's main list UI into the gtk+ client

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/tr_core.h

    r3821 r4210  
    163163tr_core_set_pref( TrCore * self, const char * key, const char * val );
    164164
     165gboolean
     166tr_core_toggle_pref_bool( TrCore * core, const char * key );
    165167/* Set a boolean preference value, save the prefs file, and emit the
    166168   "prefs-changed" signal */
     
    174176
    175177void
    176 tr_core_set_sort_column_from_prefs( TrCore * core );
     178tr_core_resort( TrCore * core );
    177179
    178180/* column names for the model used to store torrent information */
    179181/* keep this in sync with the type array in tr_core_init() in tr_core.c */
    180 enum {
    181   MC_NAME, MC_SIZE, MC_HASH, MC_STAT, MC_ERR, MC_TERR,
    182   MC_PROG_C, MC_PROG_D, MC_DRATE, MC_URATE, MC_ETA, MC_PEERS,
    183   MC_UPEERS, MC_DPEERS, MC_SEED, MC_LEECH, MC_DONE,
    184   MC_DOWN, MC_UP, MC_RATIO, MC_LEFT, MC_TORRENT, MC_ID,
    185   MC_ROW_COUNT
     182enum
     183{
     184    MC_NAME,
     185    MC_NAME_COLLATED,
     186    MC_HASH,
     187    MC_TORRENT,
     188    MC_TORRENT_RAW,
     189    MC_ID,
     190    MC_ROW_COUNT
    186191};
    187192
Note: See TracChangeset for help on using the changeset viewer.