mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-09-03 20:53:02 -05:00
Add a heading for the Rate column.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user