Correctly set column sort orders from gconf. Fixes #348248.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14552 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Andreas Köhler 2006-07-23 11:43:12 +00:00
parent 43dbf78b80
commit e7368b7c06
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-07-23 Andreas Köhler <andi5.py@gmx.net>
* src/gnome-utils/gnc-tree-view.c: Correctly set column sort
orders from gconf. Fixes #348248.
2006-07-22 Derek Atkins <derek@ihtfp.com>
* configure.in: check for SLIB. (#347922)

View File

@ -903,7 +903,7 @@ gnc_tree_view_set_sort_order (GncTreeView *view,
return;
order = gnc_enum_from_nick(GTK_TYPE_SORT_TYPE, name, GTK_SORT_ASCENDING);
if (!gtk_tree_sortable_get_sort_column_id(GTK_TREE_SORTABLE(s_model),
&current, &order))
&current, NULL))
current = GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID;
g_signal_handler_block(s_model, priv->sort_column_changed_cb_id);
gtk_tree_sortable_set_sort_column_id(GTK_TREE_SORTABLE(s_model),