summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_time_axis.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-02-15 21:19:01 +0000
committerDavid Robillard <d@drobilla.net>2009-02-15 21:19:01 +0000
commit5b71b9333ae335644efd9754f6aae76b5bd5685b (patch)
tree1ab2b3b093ee4039e70f15b44aff4f79b531b9d3 /gtk2_ardour/route_time_axis.cc
parent3cfb9126af41f4fd8ebf1d5948b606da20a1ffda (diff)
Bring the note mode menu back from the dead.
Fix percussive note (diamonds) placement. git-svn-id: svn://localhost/ardour2/branches/3.0@4587 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r--gtk2_ardour/route_time_axis.cc15
1 files changed, 9 insertions, 6 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc
index f8b34bd459..674fb2db71 100644
--- a/gtk2_ardour/route_time_axis.cc
+++ b/gtk2_ardour/route_time_axis.cc
@@ -550,14 +550,17 @@ RouteTimeAxisView::build_display_menu ()
if (!Profile->get_sae()) {
items.push_back (MenuElem (_("Alignment"), *alignment_menu));
- get_diskstream()->AlignmentStyleChanged.connect (mem_fun(*this, &RouteTimeAxisView::align_style_changed));
+ get_diskstream()->AlignmentStyleChanged.connect (
+ mem_fun(*this, &RouteTimeAxisView::align_style_changed));
RadioMenuItem::Group mode_group;
- items.push_back (RadioMenuElem (mode_group, _("Normal mode"),
- bind (mem_fun (*this, &RouteTimeAxisView::set_track_mode), ARDOUR::Normal)));
+ items.push_back (RadioMenuElem (mode_group, _("Normal mode"), bind (
+ mem_fun (*this, &RouteTimeAxisView::set_track_mode),
+ ARDOUR::Normal)));
normal_track_mode_item = dynamic_cast<RadioMenuItem*>(&items.back());
- items.push_back (RadioMenuElem (mode_group, _("Tape mode"),
- bind (mem_fun (*this, &RouteTimeAxisView::set_track_mode), ARDOUR::Destructive)));
+ items.push_back (RadioMenuElem (mode_group, _("Tape mode"), bind (
+ mem_fun (*this, &RouteTimeAxisView::set_track_mode),
+ ARDOUR::Destructive)));
destructive_track_mode_item = dynamic_cast<RadioMenuItem*>(&items.back());
switch (track()->mode()) {
@@ -568,6 +571,7 @@ RouteTimeAxisView::build_display_menu ()
normal_track_mode_item->set_active ();
break;
}
+ }
get_diskstream()->AlignmentStyleChanged.connect (
mem_fun(*this, &RouteTimeAxisView::align_style_changed));
@@ -581,7 +585,6 @@ RouteTimeAxisView::build_display_menu ()
items.push_back (MenuElem (_("Color Mode"), *color_mode_menu));
items.push_back (SeparatorElem());
- }
}
items.push_back (CheckMenuElem (_("Active"), mem_fun(*this, &RouteUI::toggle_route_active)));