From 782f67d2bc17cb14270b1a2daa20b88b1115dea6 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 10 Apr 2014 04:16:13 -0400 Subject: [PATCH] use TRX Profile to alter transport button layout --- gtk2_ardour/ardour_ui2.cc | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/gtk2_ardour/ardour_ui2.cc b/gtk2_ardour/ardour_ui2.cc index e9ad631032..2a794827e0 100644 --- a/gtk2_ardour/ardour_ui2.cc +++ b/gtk2_ardour/ardour_ui2.cc @@ -357,13 +357,18 @@ ARDOUR_UI::setup_transport () tbox2->set_spacing (2); tbox->set_spacing (2); - tbox1->pack_start (midi_panic_button, false, false, 5); - tbox1->pack_start (click_button, false, false, 5); + if (!Profile->get_trx()) { + tbox1->pack_start (midi_panic_button, false, false, 5); + tbox1->pack_start (click_button, false, false, 5); + } + tbox1->pack_start (goto_start_button, false, false); tbox1->pack_start (goto_end_button, false, false); tbox1->pack_start (auto_loop_button, false, false); - tbox2->pack_start (play_selection_button, false, false); + if (!Profile->get_trx()) { + tbox2->pack_start (play_selection_button, false, false); + } tbox2->pack_start (roll_button, false, false); tbox2->pack_start (stop_button, false, false); tbox2->pack_start (rec_button, false, false, 5); -- 2.30.2