[gimp] menus, plug-ins: move script development related plug-ins in a...
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] menus, plug-ins: move script development related plug-ins in a...
- Date: Thu, 8 Aug 2019 09:59:04 +0000 (UTC)
commit f625e2ddfbe93e846f1cded40c7273beef012b68
Author: Jehan <jehan girinstud io>
Date: Wed Aug 7 20:38:53 2019 +0200
menus, plug-ins: move script development related plug-ins in a...
"Development" submenu. Also get rid of the "Languages" placeholder.
menus/image-menu.xml.in | 1 -
plug-ins/goat-exercises/goat-exercise.c | 10 +++++-----
plug-ins/python/python-console/python-console.py | 2 +-
plug-ins/script-fu/script-fu.c | 10 +++++-----
plug-ins/script-fu/scripts/test-sphere.scm | 2 +-
plug-ins/script-fu/scripts/ts-helloworld.scm | 2 +-
6 files changed, 13 insertions(+), 14 deletions(-)
---
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index 4d248d3320..11b1604f92 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -827,7 +827,6 @@
<separator />
<placeholder name="Menus" />
<separator />
- <placeholder name="Languages" />
<placeholder name="Extensions" />
<separator />
</menu>
diff --git a/plug-ins/goat-exercises/goat-exercise.c b/plug-ins/goat-exercises/goat-exercise.c
index 3613f43729..8f7f66c33a 100644
--- a/plug-ins/goat-exercises/goat-exercise.c
+++ b/plug-ins/goat-exercises/goat-exercise.c
@@ -107,18 +107,18 @@ goat_create_procedure (GimpPlugIn *plug_in,
gimp_procedure_set_image_types (procedure,
"RGB*, INDEXED*, GRAY*");
- gimp_procedure_set_menu_label (procedure, N_("Goat-e_xercise"));
- gimp_procedure_add_menu_path (procedure, "<Image>/Filters");
+ gimp_procedure_set_menu_label (procedure, N_("Exercise in _C minor"));
+ gimp_procedure_add_menu_path (procedure, "<Image>/Filters/Development/Goat exercises/");
gimp_procedure_set_documentation (procedure,
- N_("Exercise a goat"),
- "takes a goat for a walk",
+ N_("Exercise a goat in the C language"),
+ "Takes a goat for a walk",
PLUG_IN_PROC);
gimp_procedure_set_attribution (procedure,
"Øyvind Kolås <pippin gimp org>",
"Øyvind Kolås <pippin gimp org>",
- "21march 2012");
+ "21 march 2012");
gimp_procedure_set_icon (procedure, GIMP_ICON_TYPE_ICON_NAME,
(const guint8 *) GIMP_ICON_GEGL);
diff --git a/plug-ins/python/python-console/python-console.py
b/plug-ins/python/python-console/python-console.py
index 1c8cd3bd38..35dc5f8024 100755
--- a/plug-ins/python/python-console/python-console.py
+++ b/plug-ins/python/python-console/python-console.py
@@ -282,7 +282,7 @@ class PythonConsole (Gimp.PlugIn):
"James Henstridge",
"1997-1999")
procedure.add_argument_from_property(self, "run-mode")
- procedure.add_menu_path ("<Image>/Filters/Languages/Python-Fu")
+ procedure.add_menu_path ("<Image>/Filters/Development/Python-Fu")
return procedure
return None
diff --git a/plug-ins/script-fu/script-fu.c b/plug-ins/script-fu/script-fu.c
index 558e15a46f..d7d4073bc9 100644
--- a/plug-ins/script-fu/script-fu.c
+++ b/plug-ins/script-fu/script-fu.c
@@ -121,7 +121,7 @@ script_fu_query (void)
console_args, NULL);
gimp_plugin_menu_register ("plug-in-script-fu-console",
- "<Image>/Filters/Languages/Script-Fu");
+ "<Image>/Filters/Development/Script-Fu");
gimp_install_procedure ("plug-in-script-fu-text-console",
"Provides a text console mode for script-fu "
@@ -155,7 +155,7 @@ script_fu_query (void)
server_args, NULL);
gimp_plugin_menu_register ("plug-in-script-fu-server",
- "<Image>/Filters/Languages/Script-Fu");
+ "<Image>/Filters/Development/Script-Fu");
gimp_install_procedure ("plug-in-script-fu-eval",
"Evaluate scheme code",
@@ -306,9 +306,9 @@ script_fu_extension_init (void)
gimp_plugin_menu_branch_register ("<Image>/Help", N_("_GIMP Online"));
gimp_plugin_menu_branch_register ("<Image>/Help", N_("_User Manual"));
- gimp_plugin_menu_branch_register ("<Image>/Filters/Languages",
+ gimp_plugin_menu_branch_register ("<Image>/Filters/Development",
N_("_Script-Fu"));
- gimp_plugin_menu_branch_register ("<Image>/Filters/Languages/Script-Fu",
+ gimp_plugin_menu_branch_register ("<Image>/Filters/Development/Script-Fu",
N_("_Test"));
gimp_plugin_menu_branch_register ("<Image>/File/Create",
@@ -344,7 +344,7 @@ script_fu_extension_init (void)
script_fu_refresh_proc);
gimp_plugin_menu_register ("script-fu-refresh",
- "<Image>/Filters/Languages/Script-Fu");
+ "<Image>/Filters/Development/Script-Fu");
}
static void
diff --git a/plug-ins/script-fu/scripts/test-sphere.scm b/plug-ins/script-fu/scripts/test-sphere.scm
index 6b7b9cc909..b08b6783dc 100644
--- a/plug-ins/script-fu/scripts/test-sphere.scm
+++ b/plug-ins/script-fu/scripts/test-sphere.scm
@@ -304,4 +304,4 @@
)
(script-fu-menu-register "script-fu-test-sphere"
- "<Image>/Filters/Languages/Script-Fu/Test")
+ "<Image>/Filters/Development/Script-Fu/Test")
diff --git a/plug-ins/script-fu/scripts/ts-helloworld.scm b/plug-ins/script-fu/scripts/ts-helloworld.scm
index 2c041057bb..f0585aff7a 100644
--- a/plug-ins/script-fu/scripts/ts-helloworld.scm
+++ b/plug-ins/script-fu/scripts/ts-helloworld.scm
@@ -62,4 +62,4 @@
)
(script-fu-menu-register "script-fu-helloworld"
- "<Image>/Filters/Languages/Script-Fu/Test")
+ "<Image>/Filters/Development/Script-Fu/Test")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]