From 91ea44e24efe6c118616b0b4753c58652bd629ba Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Fri, 18 Jul 2025 16:49:39 +0200 Subject: [PATCH] Remove Mixbus special case in upstream Ardour --- libs/widgets/tabbable.cc | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/libs/widgets/tabbable.cc b/libs/widgets/tabbable.cc index 8ca2f545ae..bd95f2b518 100644 --- a/libs/widgets/tabbable.cc +++ b/libs/widgets/tabbable.cc @@ -77,18 +77,6 @@ Tabbable::default_layout () right_attachment_button.set_name ("lock button"); // TODO create dedicate button style bottom_attachment_button.set_name ("lock button"); -#ifdef MIXBUS - left_attachment_button.set_tweaks (ArdourButton::ExpandtoSquare); - right_attachment_button.set_tweaks (ArdourButton::ExpandtoSquare); - bottom_attachment_button.set_tweaks (ArdourButton::ExpandtoSquare); - - content_attachment_hbox.set_border_width(3); - content_attachment_hbox.set_spacing(3); - content_attachment_hbox.pack_end (right_attachment_button, false, false); - content_attachment_hbox.pack_end (bottom_attachment_button, false, false); - content_attachment_hbox.pack_end (left_attachment_button, false, false); - content_attachments.add (content_attachment_hbox); -#else Gtk::Table* atta_table = manage(new Gtk::Table); atta_table->set_homogeneous (); atta_table->set_spacings (0); @@ -104,7 +92,6 @@ Tabbable::default_layout () content_attachment_hbox.set_border_width(1); content_attachment_hbox.pack_end (*atta_table, true, true); content_attachments.add (content_attachment_hbox); -#endif left_attachment_button.set_sensitive (0 != (_panelayout & (PaneLeft | AttLeft))); right_attachment_button.set_sensitive (0 != (_panelayout & PaneRight)); @@ -116,8 +103,8 @@ Tabbable::default_layout () /* wrap the header eboxes in a themeable frame */ Gtk::Frame *toolbar_frame = manage (new Gtk::Frame); - toolbar_frame->set_name ("TransportFrame"); toolbar_frame->set_shadow_type (Gtk::SHADOW_NONE); + toolbar_frame->set_name ("TransportFrame"); toolbar_frame->add (content_header_hbox); _content_vbox.pack_start (*toolbar_frame, false, false);