app: add --show-debug-menu command-line option

Desktop / GNOME / GIMP - Ell [yahoo.com] - 29 March 2018 09:26 EDT

The debug menu is currently not included in stable versions.

Include the menu unconditionally, but hide it, and its associated actions, by default in stable versions. Allow enabling the menu using a new --show-debug-menu command-line option, in the same vein as --show-playground.

53c145c0be app: add --show-debug-menu command-line option
app/actions/debug-actions.c | 16 ++++++++++------
app/actions/debug-commands.c | 5 -----
app/actions/debug-commands.h | 10 ----------
app/app.c | 2 ++
app/app.h | 1 +
app/core/gimp.c | 2 ++
app/core/gimp.h | 2 ++
app/main.c | 8 ++++++++
app/tests.c | 4 ++--
menus/image-menu.xml.in | 2 +-
menus/menus.xsl | 6 ------
11 files changed, 28 insertions(+), 30 deletions(-)

Upstream: git.gnome.org


  • Share