Remove Mixbus special case in upstream Ardour

This commit is contained in:
Robin Gareus
2025-07-18 16:49:39 +02:00
parent 4d2c0d22e9
commit 91ea44e24e

View File

@@ -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);