add GUI for midi-device settings (and properly indent the code)
[ardour.git] / gtk2_ardour / time_info_box.cc
index 21c4fb63dc6cced87ead4f6fdc0b1572a9f5c4de..5d11c35c79a7f3cb3bd8da3ff670917dc0bfc8e0 100644 (file)
@@ -27,6 +27,7 @@
 #include "gtkmm2ext/actions.h"
 
 #include "ardour/location.h"
+#include "ardour/profile.h"
 #include "ardour/session.h"
 
 #include "time_info_box.h"
@@ -67,11 +68,13 @@ TimeInfoBox::TimeInfoBox ()
        punch_title.set_text (_("Punch"));
 
        set_homogeneous (false);
-       set_spacing (6);
+       set_spacing (0);
        set_border_width (2);
 
        pack_start (left, true, true);
-       pack_start (right, true, true);
+       if (!ARDOUR::Profile->get_trx()) {
+               pack_start (right, true, true);
+       }
 
        left.set_homogeneous (false);
        left.set_spacings (0);