panel switcher : sorted by name
git-svn-id: http://tint2.googlecode.com/svn/trunk@444 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
parent
46168f6727
commit
721ed289ba
1 changed files with 6 additions and 3 deletions
|
@ -46,6 +46,9 @@ GtkWidget *create_view()
|
|||
gtk_tree_view_column_add_attribute(col, g_renderer, "pixbuf", COL_SNAPSHOT);
|
||||
gtk_tree_view_append_column(GTK_TREE_VIEW(view),col);
|
||||
|
||||
GtkTreeSortable *sortable;
|
||||
sortable = GTK_TREE_SORTABLE(g_store);
|
||||
gtk_tree_sortable_set_sort_column_id(sortable, COL_THEME_FILE, GTK_SORT_ASCENDING);
|
||||
return view;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue