app: add help ids for vector layer commands

This commit is contained in:
Jacob Boerema 2025-08-28 13:17:16 -04:00
parent 84b450b7bd
commit 769b911018
4 changed files with 7 additions and 4 deletions

View file

@ -216,13 +216,13 @@ static const GimpActionEntry layers_actions[] =
NC_("layers-action", "Fill / Stroke"), NULL, { NULL },
NC_("layers-action", "Edit the fill and stroke of this vector layer"),
layers_vector_fill_stroke_cmd_callback,
NULL },
GIMP_HELP_LAYER_VECTOR_FILL_STROKE },
{ "layers-vector-discard", NULL,
NC_("layers-action", "Discard Vector Information"), NULL, { NULL },
NC_("layers-action", "Turn this vector layer into a normal layer"),
layers_vector_discard_cmd_callback,
NULL },
GIMP_HELP_LAYER_VECTOR_DISCARD },
{ "layers-resize", GIMP_ICON_OBJECT_RESIZE,
NC_("layers-action", "Layer B_oundary Size..."), NULL, { NULL },

View file

@ -2719,7 +2719,7 @@ layers_vector_fill_stroke_cmd_callback (GimpAction *action,
action_data_get_context (data),
_("Fill / Stroke"),
"gimp-vector-layer-stroke",
NULL,
GIMP_HELP_LAYER_VECTOR_FILL_STROKE,
widget);
gtk_widget_show (dialog);
}

View file

@ -154,7 +154,7 @@ static const GimpActionEntry paths_actions[] =
{ "paths-to-vector-layer", NULL,
NC_("paths-action", "Path to Vector Layer"), NULL, { NULL }, NULL,
path_to_vector_layer_cmd_callback,
NULL },
GIMP_HELP_PATH_TO_VECTOR_LAYER },
};
static const GimpToggleActionEntry paths_toggle_actions[] =

View file

@ -197,6 +197,8 @@
#define GIMP_HELP_LAYER_TEXT_DISCARD "gimp-layer-text-discard"
#define GIMP_HELP_LAYER_TEXT_TO_PATH "gimp-layer-text-to-path"
#define GIMP_HELP_LAYER_TEXT_ALONG_PATH "gimp-layer-text-along-path"
#define GIMP_HELP_LAYER_VECTOR_DISCARD "gimp-layer-vector-discard"
#define GIMP_HELP_LAYER_VECTOR_FILL_STROKE "gimp-layer-vector-fill-stroke"
#define GIMP_HELP_LAYER_PREVIOUS "gimp-layer-previous"
#define GIMP_HELP_LAYER_NEXT "gimp-layer-next"
#define GIMP_HELP_LAYER_TOP "gimp-layer-top"
@ -304,6 +306,7 @@
#define GIMP_HELP_PATH_IMPORT "gimp-path-import"
#define GIMP_HELP_PATH_EXPORT "gimp-path-export"
#define GIMP_HELP_PATH_EDIT "gimp-path-edit"
#define GIMP_HELP_PATH_TO_VECTOR_LAYER "gimp-path-to-vector-layer"
#define GIMP_HELP_PATH_TOOL_DELETE_ANCHOR "gimp-path-path-tool-delete-anchor"
#define GIMP_HELP_PATH_TOOL_DELETE_SEGMENT "gimp-path-path-tool-delete-segment"