Changeset 2267


Ignore:
Timestamp:
Jul 1, 2007, 1:39:37 PM (15 years ago)
Author:
charles
Message:

(gtk) sort the files in the torrent inspector's file tab.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/torrent-inspector.c

    r2247 r2267  
    12851285    }
    12861286    getdirtotals( store, NULL );
    1287     gtk_tree_sortable_set_sort_column_id( GTK_TREE_SORTABLE( store ),
    1288                                           FC_KEY, GTK_SORT_ASCENDING );
    12891287
    12901288    /* create the view */
     
    13161314    col = gtk_tree_view_column_new_with_attributes (
    13171315      _("Progress"), rend, "value", FC_PROG, NULL);
     1316    gtk_tree_view_column_set_sort_column_id( col, FC_PROG );
    13181317    gtk_tree_view_append_column( GTK_TREE_VIEW( view ), col );
    13191318    /* set up view */
     
    13281327    model = priority_model_new ();
    13291328    col = gtk_tree_view_column_new ();
     1329    gtk_tree_view_column_set_sort_column_id( col, FC_PRIORITY );
    13301330    gtk_tree_view_column_set_title (col, _("Priority"));
    13311331    rend = gtk_cell_renderer_combo_new ();
Note: See TracChangeset for help on using the changeset viewer.