[gimp] app: use GimpIntComboBox' label in generated GEGL op GUIs
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: use GimpIntComboBox' label in generated GEGL op GUIs
- Date: Sat, 8 Jun 2013 20:02:59 +0000 (UTC)
commit d2b254c4dc0b0c21b0c92449cba199defa87eba1
Author: Michael Natterer <mitch gimp org>
Date: Sat Jun 8 22:01:24 2013 +0200
app: use GimpIntComboBox' label in generated GEGL op GUIs
Makes the property widget table less noisy.
app/widgets/gimpproptable.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimpproptable.c b/app/widgets/gimpproptable.c
index f626342..720bfcf 100644
--- a/app/widgets/gimpproptable.c
+++ b/app/widgets/gimpproptable.c
@@ -166,7 +166,8 @@ gimp_prop_table_new (GObject *config,
else if (G_IS_PARAM_SPEC_ENUM (pspec))
{
widget = gimp_prop_enum_combo_box_new (config, pspec->name, 0, 0);
- label = g_param_spec_get_nick (pspec);
+ gimp_int_combo_box_set_label (GIMP_INT_COMBO_BOX (widget),
+ g_param_spec_get_nick (pspec));
}
else if (GEGL_IS_PARAM_SPEC_SEED (pspec))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]