Changeset 2256


Ignore:
Timestamp:
Jun 30, 2007, 10:46:01 PM (15 years ago)
Author:
charles
Message:

(gtk) make the columns in the main window sortable

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/tr_window.c

    r2149 r2256  
    194194    gtk_tree_view_column_set_expand( col, TRUE );
    195195    gtk_tree_view_column_set_sizing( col, GTK_TREE_VIEW_COLUMN_AUTOSIZE );
     196    gtk_tree_view_column_set_sort_column_id( col, MC_NAME );
    196197    gtk_tree_view_append_column( GTK_TREE_VIEW( view ), col );
    197198
     
    206207                                             NULL, NULL );
    207208    gtk_tree_view_column_set_sizing( col, GTK_TREE_VIEW_COLUMN_AUTOSIZE );
     209    gtk_tree_view_column_set_sort_column_id( col, MC_PROG_D );
    208210    gtk_tree_view_append_column( GTK_TREE_VIEW( view ), col );
    209211
Note: See TracChangeset for help on using the changeset viewer.