lots of MIDI editing stuff. to be explained on the website when its done
[ardour.git] / gtk2_ardour / ardour_ui2.cc
index 92fadd198bae6c881ab8c0ddbe00bc06fb8c52af..0394d8be8cd012dc4d8be0c4813198a34182a8a6 100644 (file)
@@ -191,6 +191,7 @@ ARDOUR_UI::setup_transport ()
 {
        transport_tearoff = manage (new TearOff (transport_tearoff_hbox));
        transport_tearoff->set_name ("TransportBase");
+       transport_tearoff->tearoff_window().signal_key_press_event().connect (bind (sigc::ptr_fun (relay_key_press), &transport_tearoff->tearoff_window()), false);
 
        if (Profile->get_sae()) {
                transport_tearoff->set_can_be_torn_off (false);
@@ -900,8 +901,7 @@ ARDOUR_UI::editor_realized ()
        Config->map_parameters (mem_fun (*this, &ARDOUR_UI::parameter_changed));
 
        set_size_request_to_display_given_text (speed_display_box, _("-0.55"), 2, 2);
-       cerr << "I commented out line line 889 in ardour_ui2.cc, because it made ardour crash somewhere in Gnome::Canvas::Text" << endl;
-       //reset_dpi();
+       reset_dpi ();
 }
 
 void