mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 17:33:25 +00:00
app: add help-ids to the vector tool path actions
These were missing help ids and don't have tooltips either, while some of these actions may not be clear to end users what they do. This will allow us to have context sensitive help about these commands in the manual.
This commit is contained in:
parent
6f197416ec
commit
496b390724
2 changed files with 11 additions and 5 deletions
|
@ -44,24 +44,24 @@ static const GimpActionEntry vector_toolpath_actions[] =
|
|||
{ "vector-toolpath-delete-anchor", GIMP_ICON_PATH,
|
||||
NC_("vector-toolpath-action", "_Delete Anchor"), NULL, { NULL }, NULL,
|
||||
vector_toolpath_delete_anchor_cmd_callback,
|
||||
NULL },
|
||||
GIMP_HELP_PATH_TOOL_DELETE_ANCHOR },
|
||||
{ "vector-toolpath-shift-start", GIMP_ICON_PATH,
|
||||
NC_("vector-toolpath-action", "Shift S_tart"), NULL, { NULL }, NULL,
|
||||
vector_toolpath_shift_start_cmd_callback,
|
||||
NULL },
|
||||
GIMP_HELP_PATH_TOOL_SHIFT_START },
|
||||
|
||||
{ "vector-toolpath-insert-anchor", GIMP_ICON_PATH,
|
||||
NC_("vector-toolpath-action", "_Insert Anchor"), NULL, { NULL }, NULL,
|
||||
vector_toolpath_insert_anchor_cmd_callback,
|
||||
NULL },
|
||||
GIMP_HELP_PATH_TOOL_INSERT_ANCHOR },
|
||||
{ "vector-toolpath-delete-segment", GIMP_ICON_PATH,
|
||||
NC_("vector-toolpath-action", "Delete _Segment"), NULL, { NULL }, NULL,
|
||||
vector_toolpath_delete_segment_cmd_callback,
|
||||
NULL },
|
||||
GIMP_HELP_PATH_TOOL_DELETE_SEGMENT },
|
||||
{ "vector-toolpath-reverse-stroke", GIMP_ICON_PATH,
|
||||
NC_("vector-toolpath-action", "_Reverse Stroke"), NULL, { NULL }, NULL,
|
||||
vector_toolpath_reverse_stroke_cmd_callback,
|
||||
NULL }
|
||||
GIMP_HELP_PATH_TOOL_REVERSE_STROKE }
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -295,6 +295,12 @@
|
|||
#define GIMP_HELP_PATH_EXPORT "gimp-path-export"
|
||||
#define GIMP_HELP_PATH_EDIT "gimp-path-edit"
|
||||
|
||||
#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"
|
||||
#define GIMP_HELP_PATH_TOOL_INSERT_ANCHOR "gimp-path-path-tool-insert-anchor"
|
||||
#define GIMP_HELP_PATH_TOOL_REVERSE_STROKE "gimp-path-path-tool-reverse-stroke"
|
||||
#define GIMP_HELP_PATH_TOOL_SHIFT_START "gimp-path-path-tool-shift-start"
|
||||
|
||||
#define GIMP_HELP_TEXT_TOOL_CUT "gimp-text-tool-cut"
|
||||
#define GIMP_HELP_TEXT_TOOL_COPY "gimp-text-tool-copy"
|
||||
#define GIMP_HELP_TEXT_TOOL_PASTE "gimp-text-tool-paste"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue