lots of odds and ends to do with solo isolate and its GUI
[ardour.git] / gtk2_ardour / location_ui.cc
index eebec3556eff01f2cd347d3b23303ae571a72ab2..68c03e060409157a56bb6554531e86f278137e97 100644 (file)
@@ -226,7 +226,7 @@ LocationEditRow::set_location (Location *loc)
                        item_table.attach (remove_button, 6, 7, 0, 1, FILL, FILL, 4, 0);
                }
 
-               if (location->is_end() || location->is_start()) {
+               if (location->is_session_range()) {
                        remove_button.set_sensitive (false);
                }
 
@@ -671,7 +671,7 @@ LocationUI::do_location_remove (ARDOUR::Location *loc)
           cannot be removed.
        */
 
-       if (loc->is_end()) {
+       if (loc->is_session_range()) {
                return FALSE;
        }
 
@@ -896,9 +896,8 @@ LocationUI::session_going_away()
 /*------------------------*/
 
 LocationUIWindow::LocationUIWindow ()
-       : ArdourDialog ("locations dialog")
+       : ArdourDialog (_("Locations"))
 {
-       set_title (_("Locations"));
        set_wmclass(X_("ardour_locations"), "Ardour");
        set_name ("LocationWindow");