X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fhomebank;a=blobdiff_plain;f=src%2Flist-operation.h;fp=src%2Flist_operation.h;h=473fb87b19de71c82d2f7636bb045d89a309493f;hp=7b679dcf56a78932b16ec23efe3e8292ac4c1cc5;hb=236cb5e47660876f46488ea8f76ecd5bebfa1fac;hpb=8892e90b335f94c296462a91534334b674226cd9 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);