app, menus: rename layers-retrieve to layers-revert-rasterize.
Based on the label, and also "retrieve" was just too generic. It made sense in the context of rasterizable items, but with the more generic "layers" context, it would raise uncertainty.
This commit is contained in:
parent
172d4356c5
commit
58262ceda8
5 changed files with 9 additions and 9 deletions
|
|
@ -188,10 +188,10 @@ static const GimpActionEntry layers_actions[] =
|
|||
layers_rasterize_cmd_callback,
|
||||
GIMP_HELP_LAYER_TEXT_DISCARD },
|
||||
|
||||
{ "layers-retrieve", GIMP_ICON_TOOL_TEXT,
|
||||
{ "layers-revert-rasterize", GIMP_ICON_TOOL_TEXT,
|
||||
NC_("layers-action", "_Revert Rasterize"), NULL, { NULL },
|
||||
NC_("layers-action", "Turn rasterized layers back into text, link or vector layers"),
|
||||
layers_retrieve_cmd_callback,
|
||||
layers_revert_rasterize_cmd_callback,
|
||||
GIMP_HELP_LAYER_TEXT_DISCARD },
|
||||
|
||||
{ "layers-text-to-path", GIMP_ICON_TOOL_TEXT,
|
||||
|
|
@ -1068,7 +1068,7 @@ layers_actions_update (GimpActionGroup *group,
|
|||
SET_SENSITIVE ("layers-flatten-image", !fs && !ac);
|
||||
|
||||
SET_VISIBLE ("layers-rasterize", has_rasterizable);
|
||||
SET_VISIBLE ("layers-retrieve", has_rasterized);
|
||||
SET_VISIBLE ("layers-revert-rasterize", has_rasterized);
|
||||
|
||||
SET_VISIBLE ("layers-text-to-path", n_text_layers > 0 && !ac);
|
||||
SET_VISIBLE ("layers-text-along-path", text_layer && !ac);
|
||||
|
|
|
|||
|
|
@ -1130,9 +1130,9 @@ layers_rasterize_cmd_callback (GimpAction *action,
|
|||
}
|
||||
|
||||
void
|
||||
layers_retrieve_cmd_callback (GimpAction *action,
|
||||
GVariant *value,
|
||||
gpointer data)
|
||||
layers_revert_rasterize_cmd_callback (GimpAction *action,
|
||||
GVariant *value,
|
||||
gpointer data)
|
||||
{
|
||||
GimpImage *image;
|
||||
GList *layers;
|
||||
|
|
|
|||
|
|
@ -81,7 +81,7 @@ void layers_delete_cmd_callback (GimpAction *action,
|
|||
void layers_rasterize_cmd_callback (GimpAction *action,
|
||||
GVariant *value,
|
||||
gpointer data);
|
||||
void layers_retrieve_cmd_callback (GimpAction *action,
|
||||
void layers_revert_rasterize_cmd_callback (GimpAction *action,
|
||||
GVariant *value,
|
||||
gpointer data);
|
||||
|
||||
|
|
|
|||
|
|
@ -440,7 +440,7 @@
|
|||
|
||||
<!-- Action shared to text, vector and link layers -->
|
||||
<item><attribute name="action">app.layers-rasterize</attribute></item>
|
||||
<item><attribute name="action">app.layers-retrieve</attribute></item>
|
||||
<item><attribute name="action">app.layers-revert-rasterize</attribute></item>
|
||||
</section>
|
||||
<section>
|
||||
<submenu>
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@
|
|||
<item><attribute name="action">app.layers-vector-fill-stroke</attribute></item>
|
||||
|
||||
<item><attribute name="action">app.layers-rasterize</attribute></item>
|
||||
<item><attribute name="action">app.layers-retrieve</attribute></item>
|
||||
<item><attribute name="action">app.layers-revert-rasterize</attribute></item>
|
||||
</section>
|
||||
<section>
|
||||
<item><attribute name="action">app.layers-resize</attribute></item>
|
||||
|
|
|
|||
Loading…
Reference in a new issue