-
Michael Natterer authored
which returns an array of modes in the order they would appear in a GimpLayerModeContext's UI (like tool options or the layers dialog), without the separators. Use it in context-commands.c and layers-commands.c instead of static (and outdated) arrays for the actions that cycle through modes.
89b27867