mirror of
https://github.com/csete/gpredict
synced 2026-08-13 17:39:46 -04:00
Apply compare function to all categories.
git-svn-id: https://gpredict.svn.sourceforge.net/svnroot/gpredict/trunk@958 ab6734ba-2843-0410-b83b-99c217ef6c0f
This commit is contained in:
parent
5e475a6f71
commit
31994ebdbd
2 changed files with 11 additions and 0 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2011-11-21 Charles Suprin <hamaa1vs at gmail.com>
|
||||
|
||||
* src/gtk-sat-selector.c
|
||||
Apply compare function to all categories.
|
||||
|
||||
|
||||
2011-11-21 Charles Suprin <hamaa1vs at gmail.com>
|
||||
|
||||
* src/gtk-sat-map.c
|
||||
|
|
|
|||
|
|
@ -673,6 +673,11 @@ static void group_selected_cb (GtkComboBox *combobox, gpointer data)
|
|||
newmodel = GTK_TREE_MODEL (g_slist_nth_data (selector->models, sel));
|
||||
|
||||
/* We changed the GtkTreeModel so we need to reset the sort column ID */
|
||||
gtk_tree_sortable_set_sort_func (GTK_TREE_SORTABLE (newmodel),
|
||||
GTK_SAT_SELECTOR_COL_NAME,
|
||||
compare_func,
|
||||
NULL,
|
||||
NULL);
|
||||
gtk_tree_sortable_set_sort_column_id (GTK_TREE_SORTABLE (newmodel),
|
||||
GTK_SAT_SELECTOR_COL_NAME,
|
||||
GTK_SORT_ASCENDING);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue