mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Add a heading for the Rate column.
This commit is contained in:
parent
173805b79f
commit
98f0b3dacb
@ -353,6 +353,13 @@ gnc_split_register_get_type_label (VirtualLocation virt_loc,
|
|||||||
return _("Type");
|
return _("Type");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static const char *
|
||||||
|
gnc_split_register_get_rate_label (VirtualLocation virt_loc,
|
||||||
|
gpointer user_data)
|
||||||
|
{
|
||||||
|
return _("Rate");
|
||||||
|
}
|
||||||
|
|
||||||
static const char *
|
static const char *
|
||||||
gnc_split_register_get_debit_label (VirtualLocation virt_loc,
|
gnc_split_register_get_debit_label (VirtualLocation virt_loc,
|
||||||
gpointer user_data)
|
gpointer user_data)
|
||||||
@ -2454,6 +2461,10 @@ gnc_split_register_model_new (void)
|
|||||||
gnc_split_register_get_price_label,
|
gnc_split_register_get_price_label,
|
||||||
PRIC_CELL);
|
PRIC_CELL);
|
||||||
|
|
||||||
|
gnc_table_model_set_label_handler (model,
|
||||||
|
gnc_split_register_get_rate_label,
|
||||||
|
RATE_CELL);
|
||||||
|
|
||||||
gnc_table_model_set_label_handler (model,
|
gnc_table_model_set_label_handler (model,
|
||||||
gnc_split_register_get_shares_label,
|
gnc_split_register_get_shares_label,
|
||||||
SHRS_CELL);
|
SHRS_CELL);
|
||||||
|
Loading…
Reference in New Issue
Block a user