X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fhomebank;a=blobdiff_plain;f=src%2Flist_operation.c;fp=src%2Flist_operation.c;h=964d9cacc16fce35eec129013efc38cdb462e963;hp=9b05b5d3d5fbcf7bca2ee0920067edb56e93c550;hb=2ef3e601408ebaeeaf5f40d6967664b012a49979;hpb=ed78ccc9c6d01422d6366c593ffa01e8c8ff5a68 diff --git a/src/list_operation.c b/src/list_operation.c index 9b05b5d..964d9ca 100644 --- a/src/list_operation.c +++ b/src/list_operation.c @@ -1,5 +1,5 @@ /* HomeBank -- Free, easy, personal accounting for everyone. - * Copyright (C) 1995-2016 Maxime DOYEN + * Copyright (C) 1995-2017 Maxime DOYEN * * This file is part of HomeBank. * @@ -1169,6 +1169,7 @@ GtkTreeViewColumn *column, *col_acc = NULL, *col_status = NULL; gtk_tree_sortable_set_sort_func(GTK_TREE_SORTABLE(store), LST_DSPOPE_CATEGORY, list_txn_sort_iter_compare_func, GINT_TO_POINTER(LST_DSPOPE_CATEGORY), NULL); gtk_tree_sortable_set_sort_func(GTK_TREE_SORTABLE(store), LST_DSPOPE_TAGS , list_txn_sort_iter_compare_func, GINT_TO_POINTER(LST_DSPOPE_TAGS), NULL); gtk_tree_sortable_set_sort_func(GTK_TREE_SORTABLE(store), LST_DSPOPE_CLR , list_txn_sort_iter_compare_func, GINT_TO_POINTER(LST_DSPOPE_CLR), NULL); + gtk_tree_sortable_set_sort_func(GTK_TREE_SORTABLE(store), LST_DSPOPE_ACCOUNT , list_txn_sort_iter_compare_func, GINT_TO_POINTER(LST_DSPOPE_ACCOUNT), NULL); /* apply user preference for columns */ list_txn_set_columns(GTK_TREE_VIEW(treeview), pref_columns);