[gimp] plug-ins: fix a glitch in the script-fu unique argument name logic
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: fix a glitch in the script-fu unique argument name logic
- Date: Mon, 2 Sep 2019 17:36:14 +0000 (UTC)
commit add31e297649ea63d3f14fd94c56e2bd5202e288
Author: Michael Natterer <mitch gimp org>
Date: Mon Sep 2 19:31:15 2019 +0200
plug-ins: fix a glitch in the script-fu unique argument name logic
plug-ins/script-fu/script-fu-script.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
---
diff --git a/plug-ins/script-fu/script-fu-script.c b/plug-ins/script-fu/script-fu-script.c
index 85fb86d7ba..1872c295bf 100644
--- a/plug-ins/script-fu/script-fu-script.c
+++ b/plug-ins/script-fu/script-fu-script.c
@@ -264,14 +264,18 @@ script_fu_script_install_proc (GimpPlugIn *plug_in,
break;
case SF_STRING:
- case SF_TEXT:
name = "string";
nick = "String";
break;
+ case SF_TEXT:
+ name = "text";
+ nick = "Text";
+ break;
+
case SF_ADJUSTMENT:
- name = "value";
- nick = "Value";
+ name = "adjustment";
+ nick = "Adjustment";
break;
case SF_FILENAME:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]