From f93cddda78735d55f3a54b238ac859547660a36a Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Wed, 24 Apr 2024 22:00:32 -0600 Subject: [PATCH] menu file now named after downcase-d PROGRAM_NAME --- gtk2_ardour/mixbus.menus.in | 980 ++++++++++++++++++++++++++++++++++++ gtk2_ardour/opts.cc | 2 +- 2 files changed, 981 insertions(+), 1 deletion(-) create mode 100644 gtk2_ardour/mixbus.menus.in diff --git a/gtk2_ardour/mixbus.menus.in b/gtk2_ardour/mixbus.menus.in new file mode 100644 index 0000000000..77490b4db7 --- /dev/null +++ b/gtk2_ardour/mixbus.menus.in @@ -0,0 +1,980 @@ + + + + + + + + + + +#ifndef WINDOWS /* can't move open files. */ + + + +#endif + + + + + + +#ifdef PTFORMAT + +#endif + + + + + + + + + + +#ifdef VAPOR + +#endif + + + + + +#ifdef VAPOR + +#endif + + + + + + + + + + + + + + + + + + + +#ifdef __APPLE__ + +#endif +#ifndef MIXBUS + + +#endif +#ifndef __APPLE__ + + +#endif + + + + + + + + + + + + + + + + + +#if 0 + +#endif + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +#ifndef MIXBUS + +#endif + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +#ifndef __APPLE__ + +#endif + + + + + + + + + + + + + + + + + +#ifndef MIXBUS + + +#endif + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +#ifndef MIXBUS + +#endif + + + + + + +#ifdef MIXBUS + + + + + + + +#endif + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +#ifdef MIXBUS + +#endif + + + +#ifdef MIXBUS + + + + +#endif + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +#ifndef MIXBUS + + + +#if 0 + +#endif +#endif + + + +#ifndef MIXBUS + +#endif +#ifdef MIXBUS + + +#endif + + + + + + + + + + +#if 0 + +#endif + + + + + + + +#ifndef __APPLE__ + +#endif +#ifdef MIXBUS + + + + + +#else + + + + + + + + +#endif + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +#ifndef MIXBUS + +#endif + +#ifndef MIXBUS + + + + + +#endif + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +#ifndef MIXBUS + +#endif + + + + + + + diff --git a/gtk2_ardour/opts.cc b/gtk2_ardour/opts.cc index dbcd0655f9..c9402067f6 100644 --- a/gtk2_ardour/opts.cc +++ b/gtk2_ardour/opts.cc @@ -50,7 +50,7 @@ bool ARDOUR_COMMAND_LINE::new_session = false; bool ARDOUR_COMMAND_LINE::try_hw_optimization = true; bool ARDOUR_COMMAND_LINE::no_connect_ports = false; string ARDOUR_COMMAND_LINE::keybindings_path = ""; /* empty means use builtin default */ -std::string ARDOUR_COMMAND_LINE::menus_file = "ardour.menus"; +std::string ARDOUR_COMMAND_LINE::menus_file = std::string (PBD::downcase(PROGRAM_NAME)) + ".menus"; bool ARDOUR_COMMAND_LINE::finder_invoked_ardour = false; string ARDOUR_COMMAND_LINE::load_template; bool ARDOUR_COMMAND_LINE::check_announcements = true;