Changeset 5266


Ignore:
Timestamp:
Mar 16, 2008, 9:41:27 PM (14 years ago)
Author:
charles
Message:

(gtk) set the default sort column & mode for the message window's list

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/msgwin.c

    r5265 r5266  
    428428    data->filter = gtk_tree_model_filter_new( GTK_TREE_MODEL( data->store ), NULL );
    429429    data->sort = gtk_tree_model_sort_new_with_model( data->filter );
     430    gtk_tree_sortable_set_sort_column_id( GTK_TREE_SORTABLE( data->sort ),
     431                                          COL_SEQUENCE,
     432                                          GTK_SORT_ASCENDING );
    430433    data->maxLevel = pref_int_get( PREF_KEY_MSGLEVEL );
    431434    gtk_tree_model_filter_set_visible_func( GTK_TREE_MODEL_FILTER( data->filter ),
  • trunk/libtransmission/shared.c

    r5243 r5266  
    9494        status = tr_upnpPulse( s->upnp, port, isEnabled );
    9595    if( status != s->natStatus ) {
    96         tr_ninf( getKey(), _( "state changed from \"%s\" to \"%s\"" ), getNatStateStr(s->natStatus), getNatStateStr(status) );
     96        tr_ninf( getKey(), _( "State changed from \"%s\" to \"%s\"" ), getNatStateStr(s->natStatus), getNatStateStr(status) );
    9797        s->natStatus = status;
    9898    }
Note: See TracChangeset for help on using the changeset viewer.