mirror of https://github.com/GNOME/gimp.git
app, menus, plug-ins: add new Submenu Image -> Color Management
and move the color profile menu entries there. Add a mapping so 3rd party plug-ins get moved to the new location automatically. Also, add a separator after "Duplicate" and move the "Transform" submenu to the top of the group that has "Scale", "Resize" etc.
This commit is contained in:
parent
014cd08c5c
commit
ba1318dda9
|
@ -52,11 +52,13 @@ static const GimpActionEntry image_actions[] =
|
|||
NC_("image-action", "Image Menu"), NULL, NULL, NULL,
|
||||
GIMP_HELP_IMAGE_WINDOW },
|
||||
|
||||
{ "image-menu", NULL, NC_("image-action", "_Image") },
|
||||
{ "image-mode-menu", NULL, NC_("image-action", "_Mode") },
|
||||
{ "image-precision-menu", NULL, NC_("image-action", "_Precision") },
|
||||
{ "image-transform-menu", NULL, NC_("image-action", "_Transform") },
|
||||
{ "image-guides-menu", NULL, NC_("image-action", "_Guides") },
|
||||
{ "image-menu", NULL, NC_("image-action", "_Image") },
|
||||
{ "image-mode-menu", NULL, NC_("image-action", "_Mode") },
|
||||
{ "image-precision-menu", NULL, NC_("image-action", "_Precision") },
|
||||
{ "image-color-management-menu", NULL, NC_("image-action",
|
||||
"_Color Management") },
|
||||
{ "image-transform-menu", NULL, NC_("image-action", "_Transform") },
|
||||
{ "image-guides-menu", NULL, NC_("image-action", "_Guides") },
|
||||
|
||||
{ "colors-menu", NULL, NC_("image-action", "_Colors") },
|
||||
{ "colors-info-menu", NULL, NC_("image-action", "I_nfo") },
|
||||
|
|
|
@ -60,11 +60,12 @@ static const MenuPathMapping menu_path_mappings[] =
|
|||
{ "<Toolbox>/Xtns", NULL, "<Image>/Filters/Extensions" },
|
||||
{ "<Toolbox>/Help", NULL, "<Image>/Help" },
|
||||
|
||||
{ "<Toolbox>/File/Acquire", NULL, "<Image>/File/Create/Acquire" },
|
||||
{ "<Toolbox>", NULL, "<Image>" },
|
||||
{ "<Image>/File/Acquire", NULL, "<Image>/File/Create/Acquire" },
|
||||
{ "<Image>/File/New", NULL, "<Image>/File/Create" },
|
||||
{ NULL, NULL, NULL }
|
||||
{ "<Toolbox>/File/Acquire", NULL, "<Image>/File/Create/Acquire" },
|
||||
{ "<Toolbox>", NULL, "<Image>" },
|
||||
{ "<Image>/File/Acquire", NULL, "<Image>/File/Create/Acquire" },
|
||||
{ "<Image>/File/New", NULL, "<Image>/File/Create" },
|
||||
{ "<Image>/Image/Mode/Color Profile", NULL, "<Image>/Image/Color Management" },
|
||||
{ NULL, NULL, NULL }
|
||||
};
|
||||
|
||||
|
||||
|
|
|
@ -325,13 +325,12 @@
|
|||
<placeholder name="New">
|
||||
<menuitem action="image-duplicate" />
|
||||
</placeholder>
|
||||
<separator />
|
||||
<menu action="image-mode-menu" name="Mode">
|
||||
<menuitem action="image-convert-rgb" />
|
||||
<menuitem action="image-convert-grayscale" />
|
||||
<menuitem action="image-convert-indexed" />
|
||||
<separator />
|
||||
<placeholder name="Color Profile" />
|
||||
<separator />
|
||||
<separator />
|
||||
</menu>
|
||||
<menu action="image-precision-menu" name="Precision">
|
||||
<menuitem action="image-convert-u8-linear" />
|
||||
|
@ -348,6 +347,9 @@
|
|||
<menuitem action="image-convert-double-gamma" />
|
||||
<separator />
|
||||
</menu>
|
||||
<menu action="image-color-management-menu" name="Color Management">
|
||||
</menu>
|
||||
<separator />
|
||||
<menu action="image-transform-menu" name="Transform">
|
||||
<placeholder name="Flip">
|
||||
<menuitem action="image-flip-horizontal" />
|
||||
|
@ -361,7 +363,6 @@
|
|||
</placeholder>
|
||||
<separator />
|
||||
</menu>
|
||||
<separator />
|
||||
<placeholder name="Resize">
|
||||
<menuitem action="image-resize" />
|
||||
<menuitem action="image-resize-to-layers" />
|
||||
|
|
|
@ -208,9 +208,9 @@ query (void)
|
|||
apply_rgb_args, NULL);
|
||||
|
||||
gimp_plugin_menu_register (PLUG_IN_PROC_SET,
|
||||
"<Image>/Image/Mode/Color Profile");
|
||||
"<Image>/Image/Color Management");
|
||||
gimp_plugin_menu_register (PLUG_IN_PROC_APPLY,
|
||||
"<Image>/Image/Mode/Color Profile");
|
||||
"<Image>/Image/Color Management");
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue