fixes for 2 of 3 "fit-tracks" problems; new feature: 12 "view-states" and bindings...
[ardour.git] / gtk2_ardour / route_time_axis.cc
index 07a7142b3b5e8fdaa6deb117210c45125a0f7d0f..db71753aafaf0a970bf4b0a80f4fbccc815bb079 100644 (file)
@@ -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 ();