[gegl] {lens, focus}-blur: use "range-label" ui-meta for the range label



commit cea57cfe267bfee9ea82baf02f83101fb3caa94c
Author: Ell <ell_se yahoo com>
Date:   Tue Jun 2 23:53:19 2020 +0300

    {lens,focus}-blur: use "range-label" ui-meta for the range label

 operations/common-cxx/focus-blur.c | 4 +---
 operations/common-cxx/lens-blur.cc | 2 --
 2 files changed, 1 insertion(+), 5 deletions(-)
---
diff --git a/operations/common-cxx/focus-blur.c b/operations/common-cxx/focus-blur.c
index 9e02b569f..4b87ec386 100644
--- a/operations/common-cxx/focus-blur.c
+++ b/operations/common-cxx/focus-blur.c
@@ -58,16 +58,14 @@ property_double (highlight_threshold_low, _("Highlight threshold (low)"), 0.0)
     ui_range    (0.0, 1.0)
     ui_meta     ("role", "range-start")
     ui_meta     ("unit", "luminance")
-    ui_meta     ("visible", "$highlight-factor.visible")
-    ui_meta     ("label", "range-label")
     ui_meta     ("range-label", _("Highlight threshold"))
+    ui_meta     ("visible", "$highlight-factor.visible")
 
 property_double (highlight_threshold_high, _("Highlight threshold (high)"), 1.0)
     ui_range    (0.0, 1.0)
     ui_meta     ("role", "range-end")
     ui_meta     ("unit", "luminance")
     ui_meta     ("visible", "$highlight-threshold-low.visible")
-    ui_meta     ("label", "$highlight-threshold-low.label")
 
 property_enum (shape, _("Shape"),
                GeglFocusBlurShape,
diff --git a/operations/common-cxx/lens-blur.cc b/operations/common-cxx/lens-blur.cc
index a3fc9e441..71c5ed065 100644
--- a/operations/common-cxx/lens-blur.cc
+++ b/operations/common-cxx/lens-blur.cc
@@ -36,14 +36,12 @@ property_double (highlight_threshold_low, _("Highlight threshold (low)"), 0.0)
   ui_range    (0.0, 1.0)
   ui_meta     ("role", "range-start")
   ui_meta     ("unit", "luminance")
-  ui_meta     ("label", "range-label")
   ui_meta     ("range-label", _("Highlight threshold"))
 
 property_double (highlight_threshold_high, _("Highlight threshold (high)"), 1.0)
   ui_range    (0.0, 1.0)
   ui_meta     ("role", "range-end")
   ui_meta     ("unit", "luminance")
-  ui_meta     ("label", "$highlight-threshold-low.label")
 
 property_boolean (clip, _("Clip to input extents"), TRUE)
   description (_("Clip output to the input extents"))


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]