From 65077a605fa9fcc963dc584c0010fdc1b8af1d03 Mon Sep 17 00:00:00 2001 From: Jehan Date: Thu, 17 Feb 2022 23:06:38 +0100 Subject: [PATCH] plug-ins: update foggigy after changes in GimpProcedureDialog. The default for color properties (GimpRGB) is now to be editable. So let's remove the formerly specific call for this. Also fixing a clashing mnemonics ('c' both for '_Color' and '_Cancel'). --- plug-ins/python/foggify.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plug-ins/python/foggify.py b/plug-ins/python/foggify.py index 2c818811bf..71b54c3217 100755 --- a/plug-ins/python/foggify.py +++ b/plug-ins/python/foggify.py @@ -36,7 +36,6 @@ def foggify(procedure, run_mode, image, n_drawables, drawables, args, data): if run_mode == Gimp.RunMode.INTERACTIVE: GimpUi.init('python-fu-foggify') dialog = GimpUi.ProcedureDialog(procedure=procedure, config=config) - dialog.get_color_widget('color', True, GimpUi.ColorAreaType.FLAT) dialog.fill(None) if not dialog.run(): dialog.destroy() @@ -122,7 +121,7 @@ class Foggify (Gimp.PlugIn): # work. I still leave it this way for now until we figure this out # as it should be the better syntax. color = GObject.Property(type =Gimp.RGB, default=_color, - nick =_("Fog _color"), + nick =_("_Fog color"), blurb=_("Fog color")) ## GimpPlugIn virtual methods ##