X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fardour_ui2.cc;fp=gtk2_ardour%2Fardour_ui2.cc;h=07e835e62f3a071a01fe84a3d2d992e7b7b325cf;hb=30b087ab3d28f1585987fa3f6ae006562ae192e3;hp=a7794faf783972727e1b0499a586d726f7b413bd;hpb=cb956e3e480716a3efd280a5287bdd7bee1cedc5;p=ardour.git diff --git a/gtk2_ardour/ardour_ui2.cc b/gtk2_ardour/ardour_ui2.cc index a7794faf78..07e835e62f 100644 --- a/gtk2_ardour/ardour_ui2.cc +++ b/gtk2_ardour/ardour_ui2.cc @@ -456,19 +456,19 @@ ARDOUR_UI::setup_transport () transport_table.set_row_spacings (4); transport_table.set_border_width (2); - transport_frame.set_name ("TransportFrame"); - transport_frame.set_shadow_type (Gtk::SHADOW_NONE); + transport_sample.set_name ("TransportFrame"); + transport_sample.set_shadow_type (Gtk::SHADOW_NONE); /* An event box to hold the table. We use this because we want specific control over the background color, and without this event box, - nothing inside the transport_frame actually draws a background. We + nothing inside the transport_sample actually draws a background. We would therefore end up seeing the background of the parent widget, which is probably some default color. Adding the EventBox adds a widget that will draw the background, using a style based on the parent, "TransportFrame". */ Gtk::EventBox* ebox = manage (new Gtk::EventBox); - transport_frame.add (*ebox); + transport_sample.add (*ebox); ebox->add (transport_table); /* transport controls sub-group */