From 9f93f730c59c65cb61846ce9d50ce809e6b621d6 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Mon, 30 Sep 2024 14:20:11 -0500 Subject: [PATCH] Remove cruft, cleanup transport_bar.cc --- gtk2_ardour/application_bar.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/gtk2_ardour/application_bar.cc b/gtk2_ardour/application_bar.cc index c77e917229..d8dcc99f60 100644 --- a/gtk2_ardour/application_bar.cc +++ b/gtk2_ardour/application_bar.cc @@ -849,6 +849,10 @@ ApplicationBar::set_session (Session *s) _action_script_call_btn[i].set_sizing_text ("88"); _action_script_call_btn[i].set_no_show_all (); } + + if (_have_layout) { + repack_transport_hbox(); + } } void @@ -989,9 +993,6 @@ ApplicationBar::parameter_changed (std::string p) size_t m = _session->config.get_record_mode (); assert (m < _record_mode_strings.size ()); _record_mode_selector.set_active (_record_mode_strings[m]); - } else if (p == "no-strobe") { -// stop_clocking (); -// start_clocking (); } } @@ -1122,9 +1123,7 @@ ApplicationBar::map_transport_state () _record_mode_selector.set_sensitive (!_session->actively_recording ()); } else { _record_mode_selector.set_sensitive (true); -// update_disk_space (); } - } void