X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Flist-operation.h;fp=src%2Flist_operation.h;h=473fb87b19de71c82d2f7636bb045d89a309493f;hb=0e1e5f856e9ab5faa63fd822354781baccccbcd9;hp=7b679dcf56a78932b16ec23efe3e8292ac4c1cc5;hpb=ed888e11d75c8caf2d9ffc1d830cab5e31555c80;p=chaz%2Fhomebank diff --git a/src/list_operation.h b/src/list-operation.h similarity index 90% rename from src/list_operation.h rename to src/list-operation.h index 7b679dc..473fb87 100644 --- a/src/list_operation.h +++ b/src/list-operation.h @@ -1,5 +1,5 @@ /* HomeBank -- Free, easy, personal accounting for everyone. - * Copyright (C) 1995-2018 Maxime DOYEN + * Copyright (C) 1995-2019 Maxime DOYEN * * This file is part of HomeBank. * @@ -22,8 +22,7 @@ enum { LIST_TXN_TYPE_BOOK, - LIST_TXN_TYPE_DETAIL, - LIST_TXN_TYPE_IMPORT, + LIST_TXN_TYPE_DETAIL }; struct list_txn_data @@ -32,16 +31,17 @@ struct list_txn_data GtkTreeViewColumn *tvc_balance; gint list_type; + gboolean showall; gboolean tvc_is_visible; gboolean save_column_width; }; - GtkWidget *create_list_transaction(gint type, gboolean *pref_columns); GtkWidget *create_list_import_transaction(gboolean enable_choose); gboolean list_txn_column_id_isvisible(GtkTreeView *treeview, gint sort_id); +void list_txn_set_column_acc_visible(GtkTreeView *treeview, gboolean visible); Transaction *list_txn_get_active_transaction(GtkTreeView *treeview);