Skip to content

Commit

Permalink
[assistant-stock-transaction] use SPLIT_COL_TOOLIP enum
Browse files Browse the repository at this point in the history
rename SPLIT_COL_MEMO_ESCAPED to SPLIT_COL_TOOLIP
  • Loading branch information
christopherlam committed Sep 7, 2022
1 parent 36c7129 commit d3140af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions gnucash/gnome/assistant-stock-transaction.cpp
Expand Up @@ -75,7 +75,7 @@ enum split_cols
{
SPLIT_COL_ACCOUNT = 0,
SPLIT_COL_MEMO,
SPLIT_COL_MEMO_ESCAPED,
SPLIT_COL_TOOLTIP,
SPLIT_COL_DEBIT,
SPLIT_COL_CREDIT,
NUM_SPLIT_COLS
Expand Down Expand Up @@ -695,7 +695,7 @@ check_page (GtkListStore *list, gnc_numeric& debit, gnc_numeric& credit,
gtk_list_store_set (list, &iter,
SPLIT_COL_ACCOUNT, acctstr,
SPLIT_COL_MEMO, memostr,
SPLIT_COL_MEMO_ESCAPED, memostr_escaped,
SPLIT_COL_TOOLTIP, memostr_escaped,
SPLIT_COL_DEBIT, debit_side ? amtstr : "",
SPLIT_COL_CREDIT, !debit_side ? amtstr : "",
-1);
Expand Down Expand Up @@ -1253,7 +1253,7 @@ stock_assistant_create (StockTransactionInfo *info)
g_signal_connect (G_OBJECT(info->window), "destroy",
G_CALLBACK (stock_assistant_window_destroy_cb), info);
gtk_tree_view_set_tooltip_column (GTK_TREE_VIEW (info->finish_split_view),
SPLIT_COL_MEMO_ESCAPED);
SPLIT_COL_TOOLTIP);

gtk_assistant_set_forward_page_func (GTK_ASSISTANT(info->window),
(GtkAssistantPageFunc)forward_page_func,
Expand Down

0 comments on commit d3140af

Please sign in to comment.