summaryrefslogtreecommitdiff
path: root/gtk2_ardour/route_time_axis.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-05-05 20:31:56 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-05-05 20:31:56 +0000
commit2e78bf8ceb7612d305c90de49595046def6cf97d (patch)
tree691d92cf16907319acc2db53ecd7a24446e1fb2c /gtk2_ardour/route_time_axis.cc
parent20157d04f8a5f8f7e24bd450f3a2961b4e251570 (diff)
fixes for 2 of 3 "fit-tracks" problems; new feature: 12 "view-states" and bindings etc. to support them
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3313 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/route_time_axis.cc')
-rw-r--r--gtk2_ardour/route_time_axis.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/route_time_axis.cc b/gtk2_ardour/route_time_axis.cc
index 07a7142b3b..db71753aaf 100644
--- a/gtk2_ardour/route_time_axis.cc
+++ b/gtk2_ardour/route_time_axis.cc
@@ -517,6 +517,7 @@ RouteTimeAxisView::build_display_menu ()
route_active_menu_item->set_active (_route->active());
items.push_back (SeparatorElem());
+ items.push_back (MenuElem (_("Hide"), mem_fun(*this, &RouteTimeAxisView::hide_click)));
items.push_back (MenuElem (_("Remove"), mem_fun(*this, &RouteUI::remove_this_route)));
}
@@ -697,6 +698,7 @@ RouteTimeAxisView::set_height (uint32_t h)
int gmlen = h - 5;
bool height_changed = (height == 0) || (h != height);
lm.setup_meters (gmlen);
+
TimeAxisView::set_height (h);
ensure_xml_node ();
@@ -752,7 +754,7 @@ RouteTimeAxisView::set_height (uint32_t h)
playlist_button.hide ();
}
- } else if (height >= hSmall) {
+ } else {
hide_meter ();
hide_name_entry ();