possible big clock sizing fix
[ardour.git] / gtk2_ardour / location_ui.cc
index 439d64971bb0b6f39b2caeb005342854232372e4..1bb251999c587760625177527b8ff55a341eea94 100644 (file)
@@ -260,18 +260,18 @@ LocationEditRow::set_location (Location *loc)
                end_clock.show();
                length_clock.show();
 
-               ARDOUR_UI::instance()->tooltips().set_tip (end_go_button, _("Jump to the end of this range"));
-               ARDOUR_UI::instance()->tooltips().set_tip (start_go_button, _("Jump to the start of this range"));
-               ARDOUR_UI::instance()->tooltips().set_tip (remove_button, _("Forget this range"));
-               ARDOUR_UI::instance()->tooltips().set_tip (start_clock, _("Start time"));
-               ARDOUR_UI::instance()->tooltips().set_tip (end_clock, _("End time"));
-               ARDOUR_UI::instance()->tooltips().set_tip (length_clock, _("Length"));
+               ARDOUR_UI::instance()->set_tip (end_go_button, _("Jump to the end of this range"));
+               ARDOUR_UI::instance()->set_tip (start_go_button, _("Jump to the start of this range"));
+               ARDOUR_UI::instance()->set_tip (remove_button, _("Forget this range"));
+               ARDOUR_UI::instance()->set_tip (start_clock, _("Start time"));
+               ARDOUR_UI::instance()->set_tip (end_clock, _("End time"));
+               ARDOUR_UI::instance()->set_tip (length_clock, _("Length"));
 
        } else {
 
-               ARDOUR_UI::instance()->tooltips().set_tip (start_go_button, _("Jump to this marker"));
-               ARDOUR_UI::instance()->tooltips().set_tip (remove_button, _("Forget this marker"));
-               ARDOUR_UI::instance()->tooltips().set_tip (start_clock, _("Position"));
+               ARDOUR_UI::instance()->set_tip (start_go_button, _("Jump to this marker"));
+               ARDOUR_UI::instance()->set_tip (remove_button, _("Forget this marker"));
+               ARDOUR_UI::instance()->set_tip (start_clock, _("Position"));
 
                end_go_button.hide();
                end_clock.hide();
@@ -866,6 +866,9 @@ LocationUI::set_session(ARDOUR::Session* s)
                _session->locations()->removed.connect (_session_connections, ui_bind (&LocationUI::location_removed, this, _1), gui_context());
        }
 
+       loop_edit_row.set_session (s);
+       punch_edit_row.set_session (s);
+
        refresh_location_list ();
 }