Commit 15e51581 authored by Morten Welinder's avatar Morten Welinder

Actually commit what was claimed.

parent 516a9c52
......@@ -318,13 +318,6 @@ cb_format_as_percent (GtkWidget *ignore, WorkbookControlGUI *wbcg)
apply_number_format (wbcg, "0.00%", _("Format as Percentage"));
}
static void
cb_format_with_thousands (GtkWidget *ignore, WorkbookControlGUI *wbcg)
{
apply_number_format (wbcg, cell_formats[FMT_ACCOUNT][3],
_("Format with thousands separator"));
}
static void
modify_format (WorkbookControlGUI *wbcg,
char *(*format_modify_fn) (StyleFormat const *format),
......@@ -359,6 +352,12 @@ cb_format_dec_precision (GtkWidget *ignore, WorkbookControlGUI *wbcg)
modify_format (wbcg, &format_remove_decimal, _("Decrease precision"));
}
static void
cb_format_with_thousands (GtkWidget *ignore, WorkbookControlGUI *wbcg)
{
modify_format (wbcg, &format_toggle_thousands, _("Toggle thousands separator"));
}
static void
cb_format_inc_indent (GtkWidget *ignore, WorkbookControlGUI *wbcg)
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment