diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2016-06-05 20:50:40 -0400 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2016-06-05 20:50:57 -0400 |
commit | 01812f53c34bf0298430da42bc636ee29dcdfd6a (patch) | |
tree | 9224019f8db18c66b03e7b26143079faa4186275 /gtk2_ardour/time_axis_view.cc | |
parent | 2c0396c9aa762be226d154cc3ed201c39ff6a2ec (diff) |
use, or mostly use PresentationInfo for selection status of Routes.
Needs extension to Surfaces, replacing GuiSelectionChanged signal concept
Diffstat (limited to 'gtk2_ardour/time_axis_view.cc')
-rw-r--r-- | gtk2_ardour/time_axis_view.cc | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/gtk2_ardour/time_axis_view.cc b/gtk2_ardour/time_axis_view.cc index 4885c58b54..de8c17f456 100644 --- a/gtk2_ardour/time_axis_view.cc +++ b/gtk2_ardour/time_axis_view.cc @@ -742,22 +742,9 @@ TimeAxisView::popup_display_menu (guint32 when) } void -TimeAxisView::set_selected (bool yn) +TimeAxisView::show_selected () { -#if 0 - /* end any name edit in progress */ - if (can_edit_name()) { - end_name_edit (string(), 0); - } -#endif - - if (yn == _selected) { - return; - } - - Selectable::set_selected (yn); - - if (_selected) { + if (selected()) { time_axis_frame.set_shadow_type (Gtk::SHADOW_IN); time_axis_frame.set_name ("MixerStripSelectedFrame"); controls_ebox.set_name (controls_base_selected_name); @@ -783,7 +770,6 @@ TimeAxisView::set_selected (bool yn) } time_axis_frame.show(); - } void |