[gimp] plug-ins: update foggigy after changes in GimpProcedureDialog.
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: update foggigy after changes in GimpProcedureDialog.
- Date: Thu, 17 Feb 2022 22:14:01 +0000 (UTC)
commit 65077a605fa9fcc963dc584c0010fdc1b8af1d03
Author: Jehan <jehan girinstud io>
Date: Thu Feb 17 23:06:38 2022 +0100
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 ##
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]