plug-ins: more complete naming for Python|Script-Fu consoles.
Just "Console" is enough in the context of menus with submenu hierarchy, but when accessing directly the feature (with Action Search for instance), a more accurate name is nicer. It avoids to have to check what is what in the tooltip text.
This commit is contained in:
@ -277,7 +277,7 @@ class PythonConsole (Gimp.PlugIn):
|
|||||||
procedure = Gimp.Procedure.new(self, name,
|
procedure = Gimp.Procedure.new(self, name,
|
||||||
Gimp.PDBProcType.PLUGIN,
|
Gimp.PDBProcType.PLUGIN,
|
||||||
run, None)
|
run, None)
|
||||||
procedure.set_menu_label(N_("_Console"))
|
procedure.set_menu_label(N_("Python _Console"))
|
||||||
procedure.set_documentation(N_("Interactive GIMP Python interpreter"),
|
procedure.set_documentation(N_("Interactive GIMP Python interpreter"),
|
||||||
"Type in commands and see results",
|
"Type in commands and see results",
|
||||||
"")
|
"")
|
||||||
|
@ -135,7 +135,7 @@ script_fu_create_procedure (GimpPlugIn *plug_in,
|
|||||||
GIMP_PDB_PROC_TYPE_PLUGIN,
|
GIMP_PDB_PROC_TYPE_PLUGIN,
|
||||||
script_fu_run, NULL, NULL);
|
script_fu_run, NULL, NULL);
|
||||||
|
|
||||||
gimp_procedure_set_menu_label (procedure, N_("_Console"));
|
gimp_procedure_set_menu_label (procedure, N_("Script-Fu _Console"));
|
||||||
gimp_procedure_add_menu_path (procedure,
|
gimp_procedure_add_menu_path (procedure,
|
||||||
"<Image>/Filters/Development/Script-Fu");
|
"<Image>/Filters/Development/Script-Fu");
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user