summaryrefslogtreecommitdiff
path: root/gtk2_ardour/ardour_ui.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gtk2_ardour/ardour_ui.cc')
-rw-r--r--gtk2_ardour/ardour_ui.cc8
1 files changed, 6 insertions, 2 deletions
diff --git a/gtk2_ardour/ardour_ui.cc b/gtk2_ardour/ardour_ui.cc
index 5a5a39033f..1a029f8831 100644
--- a/gtk2_ardour/ardour_ui.cc
+++ b/gtk2_ardour/ardour_ui.cc
@@ -488,7 +488,7 @@ ARDOUR_UI::post_engine ()
_tooltips.enable();
- ActionManager::load_menus ();
+ ActionManager::load_menus (ARDOUR_COMMAND_LINE::menus_file);
if (setup_windows ()) {
throw failed_constructor ();
@@ -4232,10 +4232,14 @@ ARDOUR_UI::setup_profile ()
Profile->set_small_screen ();
}
- if (getenv ("ARDOUR_SAE")) {
+ if (g_getenv ("ARDOUR_SAE")) {
Profile->set_sae ();
Profile->set_single_package ();
}
+
+ if (g_getenv ("TRX")) {
+ Profile->set_trx ();
+ }
}
int