Add a heading for the Rate column.

This commit is contained in:
Robert Fewell 2017-09-04 16:10:33 +01:00
parent 173805b79f
commit 98f0b3dacb

View File

@ -353,6 +353,13 @@ gnc_split_register_get_type_label (VirtualLocation virt_loc,
return _("Type");
}
static const char *
gnc_split_register_get_rate_label (VirtualLocation virt_loc,
gpointer user_data)
{
return _("Rate");
}
static const char *
gnc_split_register_get_debit_label (VirtualLocation virt_loc,
gpointer user_data)
@ -2454,6 +2461,10 @@ gnc_split_register_model_new (void)
gnc_split_register_get_price_label,
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_split_register_get_shares_label,
SHRS_CELL);