summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_time_axis.cc
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2014-08-31 18:51:04 +0200
committerRobin Gareus <robin@gareus.org>2014-08-31 18:51:04 +0200
commite3d982a66e116c9288bfb4d21e425e8baf2781ba (patch)
tree89a55b6095931186903cf0bbcf02ab8aabdd8347 /gtk2_ardour/audio_time_axis.cc
parent1e0c987b77444dfe59b46a71d19d8479139b68ae (diff)
set initial TAV style
Diffstat (limited to 'gtk2_ardour/audio_time_axis.cc')
-rw-r--r--gtk2_ardour/audio_time_axis.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk2_ardour/audio_time_axis.cc b/gtk2_ardour/audio_time_axis.cc
index ed40be4191..808f9729f0 100644
--- a/gtk2_ardour/audio_time_axis.cc
+++ b/gtk2_ardour/audio_time_axis.cc
@@ -95,8 +95,10 @@ AudioTimeAxisView::set_route (boost::shared_ptr<Route> rt)
if (is_audio_track()) {
controls_ebox.set_name ("AudioTrackControlsBaseUnselected");
+ time_axis_frame.set_name ("AudioTrackControlsBaseUnselected");
} else { // bus
controls_ebox.set_name ("AudioBusControlsBaseUnselected");
+ time_axis_frame.set_name ("AudioBusControlsBaseUnselected");
}
/* if set_state above didn't create a gain automation child, we need to make one */
@@ -408,8 +410,10 @@ AudioTimeAxisView::update_control_names ()
}
if (get_selected()) {
+ controls_ebox.set_name (controls_base_selected_name);
time_axis_frame.set_name (controls_base_selected_name);
} else {
+ controls_ebox.set_name (controls_base_unselected_name);
time_axis_frame.set_name (controls_base_unselected_name);
}
}