+ if (sort > 0) {
+ sort_colid = gtk_tree_view_column_get_sort_column_id (GTK_TREE_VIEW_COLUMN(colcursor->data));
+ modest_header_view_set_sort_column_id (header_view, sort_colid, type);
+ gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE(sortable),
+ colid,
+ GTK_SORT_DESCENDING);
+ gtk_tree_sortable_sort_column_changed (GTK_TREE_SORTABLE(sortable));
+ }
+ colidcursor = g_list_next (colidcursor);