gimp-ux#93: GIMP_PDB_PROC_TYPE_EXTENSION renamed GIMP_PDB_PROC_TYPE_PERSISTENT.

Even though it's not public yet (and won't really be for GIMP 3.0), I
created a new concept of "GIMP Extension" (.gex files) which bundles
various types of data for GIMP, such as plug-ins but also brushes and
other resources, themes, icons, etc.

Having 2 different concepts named the same is confusing, especially
since one of them is not really self-explaining IMO (why are "always-ON"
plug-ins called "extensions"?). So even though this is the older
concept, and since we are anyway massively breaking the API for GIMP
3.0, let's rename this older concept. "Persistent Plug-Ins" is much more
self-defining.
This commit is contained in:
Jehan 2024-09-29 17:45:45 +02:00
parent 4a41b76411
commit a9bc4c6c1b
21 changed files with 36 additions and 36 deletions

View file

@ -1246,7 +1246,7 @@ gimp_pdb_proc_type_get_type (void)
{
{ GIMP_PDB_PROC_TYPE_INTERNAL, "GIMP_PDB_PROC_TYPE_INTERNAL", "internal" },
{ GIMP_PDB_PROC_TYPE_PLUGIN, "GIMP_PDB_PROC_TYPE_PLUGIN", "plugin" },
{ GIMP_PDB_PROC_TYPE_EXTENSION, "GIMP_PDB_PROC_TYPE_EXTENSION", "extension" },
{ GIMP_PDB_PROC_TYPE_PERSISTENT, "GIMP_PDB_PROC_TYPE_PERSISTENT", "persistent" },
{ GIMP_PDB_PROC_TYPE_TEMPORARY, "GIMP_PDB_PROC_TYPE_TEMPORARY", "temporary" },
{ 0, NULL, NULL }
};
@ -1255,7 +1255,7 @@ gimp_pdb_proc_type_get_type (void)
{
{ GIMP_PDB_PROC_TYPE_INTERNAL, NC_("pdb-proc-type", "Internal GIMP procedure"), NULL },
{ GIMP_PDB_PROC_TYPE_PLUGIN, NC_("pdb-proc-type", "GIMP Plug-In"), NULL },
{ GIMP_PDB_PROC_TYPE_EXTENSION, NC_("pdb-proc-type", "GIMP Extension"), NULL },
{ GIMP_PDB_PROC_TYPE_PERSISTENT, NC_("pdb-proc-type", "GIMP Persistent Plug-In"), NULL },
{ GIMP_PDB_PROC_TYPE_TEMPORARY, NC_("pdb-proc-type", "Temporary Procedure"), NULL },
{ 0, NULL, NULL }
};

View file

@ -826,10 +826,10 @@ typedef enum
/**
* GimpPDBProcType:
* @GIMP_PDB_PROC_TYPE_INTERNAL: Internal GIMP procedure
* @GIMP_PDB_PROC_TYPE_PLUGIN: GIMP Plug-In
* @GIMP_PDB_PROC_TYPE_EXTENSION: GIMP Extension
* @GIMP_PDB_PROC_TYPE_TEMPORARY: Temporary Procedure
* @GIMP_PDB_PROC_TYPE_INTERNAL: Internal GIMP procedure
* @GIMP_PDB_PROC_TYPE_PLUGIN: GIMP Plug-In
* @GIMP_PDB_PROC_TYPE_PERSISTENT: GIMP Persistent Plug-in
* @GIMP_PDB_PROC_TYPE_TEMPORARY: Temporary Procedure
*
* Types of PDB procedures.
**/
@ -841,7 +841,7 @@ typedef enum
{
GIMP_PDB_PROC_TYPE_INTERNAL, /*< desc="Internal GIMP procedure" >*/
GIMP_PDB_PROC_TYPE_PLUGIN, /*< desc="GIMP Plug-In" >*/
GIMP_PDB_PROC_TYPE_EXTENSION, /*< desc="GIMP Extension" >*/
GIMP_PDB_PROC_TYPE_PERSISTENT, /*< desc="GIMP Persistent Plug-In" >*/
GIMP_PDB_PROC_TYPE_TEMPORARY /*< desc="Temporary Procedure" >*/
} GimpPDBProcType;