Gimp/app/menus
Jehan 6dc5f6792e app: use the new GEGL metadata "gimp:menu-path" and "gimp:menu-label".
Instead of unconditionally add all the non-special-cased GEGL operations into
the menu, only insert the ones which explicitly use the new "gimp:menu-path"
GEGL key.
See new operation "gegl:adaptive-threshold" added in commit 7c2a70eee for such
an example.

Note that the other operations will still get their own generated action (which
means for instance that you can still search them through the action search and
that you can create custom shortcuts for your favorite actions). But now you
won't get an overlong generic list of non-organized actions in a single submenu.
Some people were finding this messy when they had a lot of custom GEGL ops.

Also it means that GIMP doesn't assume that any custom GEGL op is usable in
GIMP. Indeed some ops are really not meant to be used as filters, which is why
we have the gimp_gegl_op_blacklisted() internal function; but this cannot apply
to custom operations. Therefore from now on, instead of GIMP guessing, operation
developers will have the say on whether their op should show in menus and in
which menu path exactly!

Moreover the "gimp:menu-label" key will be used as short label, i.e. the label
which is used in menus in particular, where the menu path is a helpful context
(hence allowing to use shorter menu labels).
The main "title" will still be used as long label, for places where there is no
such context, for instance the action search.
2023-06-10 23:09:00 +02:00
..
dockable-menu.c
dockable-menu.h
file-menu.c app, menus: big cleanup of most of GtkUIManager API. 2023-04-12 22:07:09 +02:00
file-menu.h
filters-menu.c app: use the new GEGL metadata "gimp:menu-path" and "gimp:menu-label". 2023-06-10 23:09:00 +02:00
filters-menu.h
image-menu.c app: display shell popup menu now uses GMenuModel. 2023-04-12 22:07:08 +02:00
image-menu.h
menus-types.h
menus.c app: create a dedicated UI manager for the quick mask popup. 2023-06-09 17:20:11 +02:00
menus.h app: prevent multiple registrations of a same action. 2023-04-12 22:07:09 +02:00
meson.build app: serialize and deserialize the actions' accelerators. 2023-04-12 22:07:09 +02:00
plug-in-menus.c app, menus: big cleanup of most of GtkUIManager API. 2023-04-12 22:07:09 +02:00
plug-in-menus.h
shortcuts-rc.c app: handle duplicate accelerators in shortcutsrc parsing. 2023-04-12 22:07:09 +02:00
shortcuts-rc.h app: serialize and deserialize the actions' accelerators. 2023-04-12 22:07:09 +02:00
tool-options-menu.c app, menus: big cleanup of most of GtkUIManager API. 2023-04-12 22:07:09 +02:00
tool-options-menu.h
window-menu.c app, menus: big cleanup of most of GtkUIManager API. 2023-04-12 22:07:09 +02:00
window-menu.h
windows-menu.c app, menus: fix the "Recently Closed Docks" auto-filling menu. 2023-04-12 22:07:09 +02:00
windows-menu.h