app: hide double precision from File -> New and from templates

This commit is contained in:
Michael Natterer 2016-12-12 11:52:35 +01:00
parent aaa9ae1ada
commit 3710c0dd0c
1 changed files with 3 additions and 1 deletions

View File

@ -408,7 +408,9 @@ gimp_template_editor_constructed (GObject *object)
combo, 1, FALSE);
combo = gimp_prop_enum_combo_box_new (G_OBJECT (template),
"component-type", 0, 0);
"component-type",
GIMP_COMPONENT_TYPE_U8,
GIMP_COMPONENT_TYPE_FLOAT);
gimp_table_attach_aligned (GTK_TABLE (table), 0, row++,
_("_Precision:"), 0.0, 0.5,
combo, 1, FALSE);