app, menus: vectors -> path in dialog and action identifiers
This commit is contained in:
parent
8a55eec2a9
commit
4ce5181cc5
11 changed files with 22 additions and 22 deletions
|
|
@ -89,12 +89,12 @@ const GimpStringActionEntry dialogs_dockable_actions[] =
|
|||
"gimp-channel-list",
|
||||
GIMP_HELP_CHANNEL_DIALOG },
|
||||
|
||||
{ "dialogs-vectors", GIMP_ICON_DIALOG_PATHS,
|
||||
{ "dialogs-paths", GIMP_ICON_DIALOG_PATHS,
|
||||
NC_("dialogs-action", "_Paths Dialog"),
|
||||
NC_("dialogs-action", "_Paths"),
|
||||
{ NULL },
|
||||
NC_("dialogs-action", "Open the paths dialog"),
|
||||
"gimp-vectors-list",
|
||||
"gimp-path-list",
|
||||
GIMP_HELP_PATH_DIALOG },
|
||||
|
||||
{ "dialogs-indexed-palette", GIMP_ICON_COLORMAP,
|
||||
|
|
|
|||
|
|
@ -179,13 +179,13 @@ static const GimpActionEntry layers_actions[] =
|
|||
layers_text_discard_cmd_callback,
|
||||
GIMP_HELP_LAYER_TEXT_DISCARD },
|
||||
|
||||
{ "layers-text-to-vectors", GIMP_ICON_TOOL_TEXT,
|
||||
{ "layers-text-to-path", GIMP_ICON_TOOL_TEXT,
|
||||
NC_("layers-action", "Text to _Path"), NULL, { NULL },
|
||||
NC_("layers-action", "Create paths from text layers"),
|
||||
layers_text_to_path_cmd_callback,
|
||||
GIMP_HELP_LAYER_TEXT_TO_PATH },
|
||||
|
||||
{ "layers-text-along-vectors", GIMP_ICON_TOOL_TEXT,
|
||||
{ "layers-text-along-path", GIMP_ICON_TOOL_TEXT,
|
||||
NC_("layers-action", "Text alon_g Path"), NULL, { NULL },
|
||||
NC_("layers-action", "Warp this layer's text along the current path"),
|
||||
layers_text_along_path_cmd_callback,
|
||||
|
|
@ -1038,9 +1038,9 @@ layers_actions_update (GimpActionGroup *group,
|
|||
SET_SENSITIVE ("layers-merge-layers", n_selected_layers > 0 && !fs && !ac);
|
||||
SET_SENSITIVE ("layers-flatten-image", !fs && !ac);
|
||||
|
||||
SET_VISIBLE ("layers-text-discard", n_text_layers > 0 && !ac);
|
||||
SET_VISIBLE ("layers-text-to-vectors", n_text_layers > 0 && !ac);
|
||||
SET_VISIBLE ("layers-text-along-vectors", text_layer && !ac);
|
||||
SET_VISIBLE ("layers-text-discard", n_text_layers > 0 && !ac);
|
||||
SET_VISIBLE ("layers-text-to-path", n_text_layers > 0 && !ac);
|
||||
SET_VISIBLE ("layers-text-along-path", text_layer && !ac);
|
||||
|
||||
SET_SENSITIVE ("layers-resize", n_selected_layers == 1 && all_writable && all_movable && !ac);
|
||||
SET_SENSITIVE ("layers-resize-to-image", all_writable && all_movable && !ac);
|
||||
|
|
|
|||
|
|
@ -270,7 +270,7 @@ static const GimpToggleActionEntry view_toggle_actions[] =
|
|||
FALSE,
|
||||
GIMP_HELP_VIEW_SNAP_TO_CANVAS },
|
||||
|
||||
{ "view-snap-to-vectors", NULL,
|
||||
{ "view-snap-to-path", NULL,
|
||||
NC_("view-action", "Snap t_o Active Path"), NULL, { NULL },
|
||||
NC_("view-action", "Tool operations snap to the active path"),
|
||||
view_snap_to_path_cmd_callback,
|
||||
|
|
@ -938,8 +938,8 @@ view_actions_update (GimpActionGroup *group,
|
|||
SET_ACTIVE ("view-snap-to-grid", display && options->snap_to_grid);
|
||||
SET_SENSITIVE ("view-snap-to-canvas", image);
|
||||
SET_ACTIVE ("view-snap-to-canvas", display && options->snap_to_canvas);
|
||||
SET_SENSITIVE ("view-snap-to-vectors", image);
|
||||
SET_ACTIVE ("view-snap-to-vectors", display && options->snap_to_path);
|
||||
SET_SENSITIVE ("view-snap-to-path", image);
|
||||
SET_ACTIVE ("view-snap-to-path", display && options->snap_to_path);
|
||||
SET_SENSITIVE ("view-snap-to-bbox", image);
|
||||
SET_ACTIVE ("view-snap-to-bbox", display && options->snap_to_bbox);
|
||||
SET_SENSITIVE ("view-snap-to-equidistance", image);
|
||||
|
|
|
|||
|
|
@ -380,7 +380,7 @@ static const GimpDialogFactoryEntry entries[] =
|
|||
N_("Channels"), NULL, GIMP_ICON_DIALOG_CHANNELS,
|
||||
GIMP_HELP_CHANNEL_DIALOG,
|
||||
dialogs_channel_list_view_new, 0, FALSE),
|
||||
DOCKABLE ("gimp-vectors-list",
|
||||
DOCKABLE ("gimp-path-list",
|
||||
N_("Paths"), NULL, GIMP_ICON_DIALOG_PATHS,
|
||||
GIMP_HELP_PATH_DIALOG,
|
||||
dialogs_path_list_view_new, 0, FALSE),
|
||||
|
|
|
|||
|
|
@ -1195,7 +1195,7 @@ gimp_tool_path_key_press (GimpToolWidget *widget,
|
|||
case GDK_KEY_Escape:
|
||||
if (private->edit_mode != GIMP_PATH_MODE_DESIGN)
|
||||
g_object_set (private,
|
||||
"vectors-edit-mode", GIMP_PATH_MODE_DESIGN,
|
||||
"path-edit-mode", GIMP_PATH_MODE_DESIGN,
|
||||
NULL);
|
||||
break;
|
||||
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ gimp_align_options_class_init (GimpAlignOptionsClass *klass)
|
|||
TRUE,
|
||||
GIMP_PARAM_STATIC_STRINGS);
|
||||
GIMP_CONFIG_PROP_BOOLEAN (object_class, PROP_ALIGN_PATHS,
|
||||
"align-vectors",
|
||||
"align-paths",
|
||||
_("Selected paths"),
|
||||
_("Selected paths will be aligned or distributed by the tool"),
|
||||
FALSE,
|
||||
|
|
@ -401,7 +401,7 @@ gimp_align_options_gui (GimpToolOptions *tool_options)
|
|||
NULL, widget, NULL);
|
||||
gtk_grid_attach (GTK_GRID (items_grid), widget, 0, 0, 1, 1);
|
||||
|
||||
widget = gimp_prop_check_button_new (config, "align-vectors", NULL);
|
||||
widget = gimp_prop_check_button_new (config, "align-paths", NULL);
|
||||
gtk_grid_attach (GTK_GRID (items_grid), widget, 0, 1, 1, 1);
|
||||
|
||||
options->priv->pivot_selector = gimp_pivot_selector_new (0.0, 0.0, 1.0, 1.0);
|
||||
|
|
|
|||
|
|
@ -59,7 +59,7 @@ gimp_tools_blink_lock_box (Gimp *gimp,
|
|||
else if (GIMP_IS_CHANNEL (item))
|
||||
identifier = "gimp-channel-list";
|
||||
else if (GIMP_IS_PATH (item))
|
||||
identifier = "gimp-vectors-list";
|
||||
identifier = "gimp-path-list";
|
||||
else
|
||||
return;
|
||||
|
||||
|
|
|
|||
|
|
@ -121,7 +121,7 @@
|
|||
#define GIMP_HELP_VIEW_SNAP_TO_GUIDES "gimp-view-snap-to-guides"
|
||||
#define GIMP_HELP_VIEW_SNAP_TO_GRID "gimp-view-snap-to-grid"
|
||||
#define GIMP_HELP_VIEW_SNAP_TO_CANVAS "gimp-view-snap-to-canvas"
|
||||
#define GIMP_HELP_VIEW_SNAP_TO_PATH "gimp-view-snap-to-vectors"
|
||||
#define GIMP_HELP_VIEW_SNAP_TO_PATH "gimp-view-snap-to-path"
|
||||
#define GIMP_HELP_VIEW_SNAP_TO_BBOX "gimp-view-snap-to-bbox"
|
||||
#define GIMP_HELP_VIEW_SNAP_TO_EQUIDISTANCE "gimp-view-snap-to-equidistance"
|
||||
#define GIMP_HELP_VIEW_SHOW_MENUBAR "gimp-view-show-menubar"
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
<section>
|
||||
<item><attribute name="action">@GROUP@.dialogs-layers</attribute></item>
|
||||
<item><attribute name="action">@GROUP@.dialogs-channels</attribute></item>
|
||||
<item><attribute name="action">@GROUP@.dialogs-vectors</attribute></item>
|
||||
<item><attribute name="action">@GROUP@.dialogs-paths</attribute></item>
|
||||
<item><attribute name="action">@GROUP@.dialogs-indexed-palette</attribute></item>
|
||||
<item><attribute name="action">@GROUP@.dialogs-histogram</attribute></item>
|
||||
<item><attribute name="action">@GROUP@.dialogs-selection-editor</attribute></item>
|
||||
|
|
|
|||
|
|
@ -275,7 +275,7 @@
|
|||
<item><attribute name="action">app.view-snap-to-guides</attribute></item>
|
||||
<item><attribute name="action">app.view-snap-to-grid</attribute></item>
|
||||
<item><attribute name="action">app.view-snap-to-canvas</attribute></item>
|
||||
<item><attribute name="action">app.view-snap-to-vectors</attribute></item>
|
||||
<item><attribute name="action">app.view-snap-to-path</attribute></item>
|
||||
<item><attribute name="action">app.view-snap-to-bbox</attribute></item>
|
||||
<item><attribute name="action">app.view-snap-to-equidistance</attribute></item>
|
||||
</section>
|
||||
|
|
@ -430,8 +430,8 @@
|
|||
<section>
|
||||
<attribute name="section-name" translatable="no">Text</attribute>
|
||||
<item><attribute name="action">app.layers-text-discard</attribute></item>
|
||||
<item><attribute name="action">app.layers-text-to-vectors</attribute></item>
|
||||
<item><attribute name="action">app.layers-text-along-vectors</attribute></item>
|
||||
<item><attribute name="action">app.layers-text-to-path</attribute></item>
|
||||
<item><attribute name="action">app.layers-text-along-path</attribute></item>
|
||||
</section>
|
||||
<section>
|
||||
<submenu>
|
||||
|
|
|
|||
|
|
@ -60,8 +60,8 @@
|
|||
</section>
|
||||
<section>
|
||||
<item><attribute name="action">app.layers-text-discard</attribute></item>
|
||||
<item><attribute name="action">app.layers-text-to-vectors</attribute></item>
|
||||
<item><attribute name="action">app.layers-text-along-vectors</attribute></item>
|
||||
<item><attribute name="action">app.layers-text-to-path</attribute></item>
|
||||
<item><attribute name="action">app.layers-text-along-path</attribute></item>
|
||||
</section>
|
||||
<section>
|
||||
<item><attribute name="action">app.layers-resize</attribute></item>
|
||||
|
|
|
|||
Loading…
Reference in a new issue